mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
Desktop: Make input routing aware of floating menus (#4498)
* Desktop: Make input routing aware of floating menus * Desktop: Route mouse input like pen input * Desktop: Model pointer input routing as a state machine
This commit is contained in:
@@ -79,6 +79,10 @@ mod editor_commands {
|
||||
}
|
||||
}
|
||||
|
||||
fn app_window_direct_input(enabled: bool) -> Message {
|
||||
AppWindowMessage::DirectInput { enabled }.into()
|
||||
}
|
||||
|
||||
/// Start Pointer Lock
|
||||
fn app_window_pointer_lock() -> Message {
|
||||
AppWindowMessage::PointerLock.into()
|
||||
|
||||
Reference in New Issue
Block a user