Fixed brush preview snapping

This commit is contained in:
unsettledgames
2020-09-17 16:11:00 +02:00
parent c27a355904
commit 37a532236b
3 changed files with 19 additions and 6 deletions

View File

@ -2,7 +2,7 @@
function getCursorPosition(e) {
var x;
var y;
if (e.pageX != undefined && e.pageY != undefined) {
x = e.pageX;
y = e.pageY;