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