summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-09 23:08:52 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-09 23:08:52 +0100
commitdce8cdbca861605b1be8621db5be82dca6174811 (patch)
tree270e8e92b3b32dee0568bde3ff28c6853c45c1d5 /main
parentbe4e9dfeab0cef7efb78d4ce891caed050a42b3b (diff)
parent06551dfa3a3683d3442389f2cc7cdbe3c57034b2 (diff)
Merge pull request #70863 from bruvzg/win_init_min
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 d21574b0e3..190cdf3151 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -2769,10 +2769,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);