1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

Fix Window.wrap_controls does not account for the content_scale_factor

This commit is contained in:
DE-YU
2024-05-15 15:23:18 +08:00
committed by Rémi Verschelde
parent a07f20b3e5
commit 46abbae2b0

View File

@@ -1602,7 +1602,7 @@ Size2 Window::_get_contents_minimum_size() const {
}
}
return max;
return max * content_scale_factor;
}
void Window::child_controls_changed() {