egui icon indicating copy to clipboard operation
egui copied to clipboard

Use cursor grab / mouse lock api

Open enomado opened this issue 3 years ago • 1 comments
trafficstars

https://docs.rs/winit/latest/winit/window/struct.Window.html#method.set_cursor_grab https://developer.mozilla.org/en-US/docs/Web/API/Pointer_Lock_API

For example it could be awesome to lock pointer when setting DragValue for example in cases when UX breaks when widget is near screen edge.

enomado avatar May 08 '22 02:05 enomado

one caveat is that at least Chromium constantly shows a warning that the cursor is hidden which becomes annoying really quick

httnn avatar May 19 '22 10:05 httnn