mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
Fix touch screen interactions
This commit is contained in:
@@ -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