diff --git a/lib/modifiedCanvasAPI.js b/lib/modifiedCanvasAPI.js index 6dd6ed1..ad3b06c 100644 --- a/lib/modifiedCanvasAPI.js +++ b/lib/modifiedCanvasAPI.js @@ -427,7 +427,7 @@ return getIsPointValue({ func: (x, y) => original.call(this, x, y, args[2]), x, y, - index: x + this.width * y, + index: x + this.canvas.width * y, originalValue, window, prefs }); } @@ -462,7 +462,7 @@ return getIsPointValue({ func, x, y, - index: x + this.width * y, + index: x + this.canvas.width * y, originalValue, window, prefs }); } diff --git a/releaseNotes.txt b/releaseNotes.txt index 5a23371..be75e45 100644 --- a/releaseNotes.txt +++ b/releaseNotes.txt @@ -6,7 +6,7 @@ Version 1.10.1: - fixes: - - + - isPointInPath and isPointInStroke return undefined with persistent rng known issues: - if a data URL is blocked the page action button does not appear