Merge pull request #71470 from YeldhamDev/window_fixes

Fix some small bugs in the `Window` node
This commit is contained in:
Rémi Verschelde 2023-01-27 19:26:31 +01:00
commit aae96945fa
No known key found for this signature in database
GPG key ID: C3336907360768E1
2 changed files with 46 additions and 24 deletions

View file

@ -116,6 +116,7 @@ private:
bool exclusive = false;
bool wrap_controls = false;
bool updating_child_controls = false;
bool updating_embedded_window = false;
bool clamp_to_embedder = false;
LayoutDirection layout_dir = LAYOUT_DIRECTION_INHERITED;
@ -123,6 +124,7 @@ private:
bool auto_translate = true;
void _update_child_controls();
void _update_embedded_window();
Size2i content_scale_size;
ContentScaleMode content_scale_mode = CONTENT_SCALE_MODE_DISABLED;