mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 22:00:03 -04:00
Fix broken mouse coordinates when there's padding on the canvas element (#4729)
* Closes https://github.com/emilk/egui/issues/4725 Also fixes touch input being wrong if the web page is scrolled.
This commit is contained in:
@@ -241,8 +241,8 @@ web-sys = { workspace = true, features = [
|
||||
"NodeList",
|
||||
"Performance",
|
||||
"ResizeObserver",
|
||||
"ResizeObserverEntry",
|
||||
"ResizeObserverBoxOptions",
|
||||
"ResizeObserverEntry",
|
||||
"ResizeObserverOptions",
|
||||
"ResizeObserverSize",
|
||||
"Storage",
|
||||
|
||||
Reference in New Issue
Block a user