Desktop: Custom cursor support (#3452)

custom cursors with caching
This commit is contained in:
Timon
2025-12-07 00:16:14 +00:00
committed by GitHub
parent 2e4481880e
commit a5cf62a90b
6 changed files with 68 additions and 16 deletions

View File

@@ -361,8 +361,8 @@ impl App {
}
}
AppEvent::CursorChange(cursor) => {
if let Some(window) = &self.window {
window.set_cursor(cursor);
if let Some(window) = &mut self.window {
window.set_cursor(event_loop, cursor);
}
}
AppEvent::CloseWindow => {