Fix it again

This commit is contained in:
Bill 2022-04-05 20:25:24 -04:00
parent 629bed5056
commit bed388f134

View File

@ -51,8 +51,8 @@ export const DispatchTouchEvent = (event: TouchEvent, canvasId: number = 1, long
y = event.changedTouches[0].clientY;
}
x *= window.devicePixelRatio;
y *= window.devicePixelRatio;
x = Math.round(x / (1 / window.devicePixelRatio));
y = Math.round(y / (1 / window.devicePixelRatio));
switch(eventType)
{