unclean implimentation of windows cursor set as image
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user