You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-04 19:21:46 +00:00
Merge pull request #107488 from KoBeWi/clamped_scale_factory
Multiply contents minimum size by scale factor
This commit is contained in:
@@ -2141,7 +2141,7 @@ Size2 Window::get_clamped_minimum_size() const {
|
||||
return min_size;
|
||||
}
|
||||
|
||||
return min_size.max(get_contents_minimum_size());
|
||||
return min_size.max(get_contents_minimum_size() * get_content_scale_factor());
|
||||
}
|
||||
|
||||
void Window::grab_focus() {
|
||||
|
||||
Reference in New Issue
Block a user