mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-28 03:08:12 +08:00
Desktop: Support cursor icon change (#3223)
* browser console message forwarding * replace target to make it easy to identify browser console messages * use warn as per review comment * cursor icon change * fix win build
This commit is contained in:
@@ -305,6 +305,11 @@ impl App {
|
||||
self.cef_schedule = Some(instant);
|
||||
}
|
||||
}
|
||||
AppEvent::CursorChange(cursor) => {
|
||||
if let Some(window) = &self.window {
|
||||
window.set_cursor(cursor);
|
||||
}
|
||||
}
|
||||
AppEvent::CloseWindow => {
|
||||
// TODO: Implement graceful shutdown
|
||||
|
||||
|
||||
Reference in New Issue
Block a user