You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Properly revert cursor when using set_custom_mouse_cursor with null
Fixes #32486
This commit is contained in:
@@ -574,6 +574,8 @@ void OS_JavaScript::set_custom_mouse_cursor(const RES &p_cursor, CursorShape p_s
|
||||
}, cursors[p_shape].utf8().get_data());
|
||||
/* clang-format on */
|
||||
cursors[p_shape] = "";
|
||||
|
||||
cursors_cache.erase(p_shape);
|
||||
}
|
||||
|
||||
set_cursor_shape(cursor_shape);
|
||||
|
||||
Reference in New Issue
Block a user