mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Update mouse cursor shape after changes
This fixes some cases where the mouse cursor shape did not change automatically, but instead required a MouseMove to update.
This commit is contained in:
parent
e5594c26b1
commit
52da6f1a44
5 changed files with 29 additions and 2 deletions
|
|
@ -1085,6 +1085,7 @@ void SceneTree::_change_scene(Node *p_to) {
|
|||
if (p_to) {
|
||||
current_scene = p_to;
|
||||
root->add_child(p_to);
|
||||
root->update_mouse_cursor_shape();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue