Fix isPointInPath and isPointInStroke

Fixes #696
This commit is contained in:
kkapsner 2024-04-07 01:53:01 +02:00
parent 40a8012ab0
commit 825fa42141
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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