Explorar el Código

Revert the Safari click fix for now

master
Fen Dweller hace 3 años
padre
commit
f5d3996e13
Se han modificado 1 ficheros con 6 adiciones y 4 borrados
  1. +6
    -4
      macrovision.js

+ 6
- 4
macrovision.js Ver fichero

@@ -2051,10 +2051,12 @@ function rotate(point, angle) {
const testCtx = testCanvas.getContext("2d");
function testClick(event) {

if (navigator.userAgent.indexOf("Safari") >= 0) {
clickDown(event.target.parentElement, event.clientX, event.clientY);
return;
}
// TODO: Find a way to do this correctly.
// if (navigator.userAgent.indexOf("Safari") >= 0) {
// clickDown(event.target.parentElement, event.clientX, event.clientY);
// return;
// }

testCtx.save();



Cargando…
Cancelar
Guardar