mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Merge pull request #91971 from Delsin-Yu/WrapControls_ContentScaleFactor
Fix `Window.wrap_controls` does not account for the `content_scale_factor`
This commit is contained in:
@@ -1602,7 +1602,7 @@ Size2 Window::_get_contents_minimum_size() const {
|
||||
}
|
||||
}
|
||||
|
||||
return max;
|
||||
return max * content_scale_factor;
|
||||
}
|
||||
|
||||
void Window::child_controls_changed() {
|
||||
|
||||
Reference in New Issue
Block a user