Browse Source

Fix Window.wrap_controls does not account for the content_scale_factor

DE-YU 1 năm trước cách đây
mục cha
commit
46abbae2b0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      scene/main/window.cpp

+ 1 - 1
scene/main/window.cpp

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