Parcourir la source

Revert the Safari click fix for now

master
Fen Dweller il y a 4 ans
Parent
révision
f5d3996e13
1 fichiers modifiés avec 6 ajouts et 4 suppressions
  1. +6
    -4
      macrovision.js

+ 6
- 4
macrovision.js Voir le fichier

@@ -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();



Chargement…
Annuler
Enregistrer