unclean implimentation of windows cursor set as image

This commit is contained in:
2025-05-10 23:42:25 -05:00
parent a8d8d2ea0b
commit 9f6f3442dc
8 changed files with 229 additions and 451 deletions
-1
View File
@@ -86,7 +86,6 @@ pub fn setup_tray_icon(
if let Some(cursor) = state.cursors.get(state.current_index) {
println!("Tray: Updating cursor image: {}", cursor.name);
crate::app::apply_cursor(&cursor.path);
// No need to call render_cursor anymore as the mouse hook handles rendering
state.current_cursor_image = image_open(&cursor.path).ok().map(|img| img.to_rgba8());
}
}