瀏覽代碼

Revert the Safari click fix for now

master
Fen Dweller 3 年之前
父節點
當前提交
f5d3996e13
共有 1 個文件被更改,包括 6 次插入4 次删除
  1. +6
    -4
      macrovision.js

+ 6
- 4
macrovision.js 查看文件

@@ -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…
取消
儲存