1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

Merge pull request #106349 from bruvzg/mac_resize

[macOS] Fix embedded window position when host control is moved, but not resized.
This commit is contained in:
Rémi Verschelde
2025-05-13 13:30:45 +02:00
committed by GitHub

View File

@@ -43,7 +43,10 @@
void EmbeddedProcessMacOS::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_RESIZED:
case NOTIFICATION_ENTER_TREE: {
set_notify_transform(true);
} break;
case NOTIFICATION_TRANSFORM_CHANGED:
case NOTIFICATION_VISIBILITY_CHANGED: {
update_embedded_process();
} break;