summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2023-01-03 09:25:45 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2023-01-03 09:25:45 +0200
commit06551dfa3a3683d3442389f2cc7cdbe3c57034b2 (patch)
tree0e8494c89172bfea0c7db132a43fa03440e6d693 /main
parentc5bfe1303a59b92eb94371fee6a1078dd08b7309 (diff)
Set main window min. size via Window object instead of DisplayServer to preserve it during window updates.
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 7e1fd38e14..92734e9208 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -2902,10 +2902,6 @@ bool Main::start() {
DisplayServer::get_singleton()->window_set_title(appname);
#endif
- // Define a very small minimum window size to prevent bugs such as GH-37242.
- // It can still be overridden by the user in a script.
- DisplayServer::get_singleton()->window_set_min_size(Size2i(64, 64));
-
bool snap_controls = GLOBAL_GET("gui/common/snap_controls_to_pixels");
sml->get_root()->set_snap_controls_to_pixels(snap_controls);