You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
[macOS] Fix embedded window position when host control is moved, but not resized.
This commit is contained in:
@@ -43,7 +43,10 @@
|
|||||||
|
|
||||||
void EmbeddedProcessMacOS::_notification(int p_what) {
|
void EmbeddedProcessMacOS::_notification(int p_what) {
|
||||||
switch (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: {
|
case NOTIFICATION_VISIBILITY_CHANGED: {
|
||||||
update_embedded_process();
|
update_embedded_process();
|
||||||
} break;
|
} break;
|
||||||
|
|||||||
Reference in New Issue
Block a user