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:
Markus Sauermann 2022-03-10 18:44:28 +01:00
parent e5594c26b1
commit 52da6f1a44
5 changed files with 29 additions and 2 deletions

View file

@ -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();
}
}