Revert "[gpu] Sync cursor position on 2→1 touch transition"

This reverts commit d44b0958fa.
This commit is contained in:
Behdad Esfahbod committed 2026-03-30 18:18:15 -06:00
1 parent d44b0958fa
commit 4ebb454061
1 file changed
-5
-5
View File
@@ -389,11 +389,6 @@ tap: animate · dbl-tap+drag: zoom · long-press: reset</span>
/* 2→1: GLFW didn't see the pinch, so synthesize mousedown
* for the remaining finger to enable panning. */
if (e.touches.length === 1) {
/* Sync GLFW cursor position first to prevent jump */
canvas.dispatchEvent(new MouseEvent('mousemove', {
clientX: e.touches[0].clientX,
clientY: e.touches[0].clientY
}));
canvas.dispatchEvent(new MouseEvent('mousedown', {
button: 0,
clientX: e.touches[0].clientX,