Browse Source

Revert the Safari click fix for now

master
Fen Dweller 3 years ago
parent
commit
f5d3996e13
1 changed files with 6 additions and 4 deletions
  1. +6
    -4
      macrovision.js

+ 6
- 4
macrovision.js View File

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



Loading…
Cancel
Save