1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-18 14:21:41 +00:00

Merge pull request #100444 from Sauermann/fix-view-panner-mouse-warp

Fix `ViewPanner` panning-mouse-warp
This commit is contained in:
Thaddeus Crews
2024-12-19 20:00:01 -06:00
15 changed files with 64 additions and 7 deletions

View File

@@ -791,6 +791,10 @@ void GraphEdit::_notification(int p_what) {
minimap->queue_redraw();
callable_mp(this, &GraphEdit::_update_top_connection_layer).call_deferred();
} break;
case NOTIFICATION_ENTER_TREE: {
panner->set_viewport(get_viewport());
} break;
}
}