mirror of
https://github.com/storytold/egui.git
synced 2026-11-23 19:12:23 +01:00
Fix touch screen interactions
This commit is contained in:
1 parent
b39555bb23
commit
0b8351b9af
1 file changed
+2
-2
+2
-2
@@ -193,9 +193,9 @@
|
||||
canvas.addEventListener("touchend", function (event) {
|
||||
g_is_touch = true;
|
||||
g_mouse_down = false; // First release mouse to click...
|
||||
update_gui()();
|
||||
paint();
|
||||
g_mouse_pos = null; // ...remove hover effect
|
||||
update_gui()();
|
||||
invalidate();
|
||||
event.stopPropagation();
|
||||
event.preventDefault();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user