summaryrefslogtreecommitdiff
path: root/editor/editor_settings.cpp
diff options
context:
space:
mode:
authorAndreas Haas <liu.gam3@gmail.com>2017-06-12 21:03:22 +0200
committerAndreas Haas <liu.gam3@gmail.com>2017-06-12 21:06:37 +0200
commit5f1603ca456dbf7521613a67798153c787149bfe (patch)
tree6fc6ddee369d76a52f70ddb7e35dca800b09f0fa /editor/editor_settings.cpp
parent9570fb14be0aeffde7efdf1244573289db0ea655 (diff)
EditorSettings: Default game window placement to Centered.
Fixes #8890
Diffstat (limited to 'editor/editor_settings.cpp')
-rw-r--r--editor/editor_settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_settings.cpp b/editor/editor_settings.cpp
index ec7e7597d5..07c7fe97e4 100644
--- a/editor/editor_settings.cpp
+++ b/editor/editor_settings.cpp
@@ -619,7 +619,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
set("editors/poly_editor/point_grab_radius", 8);
- set("run/window_placement/rect", 0);
+ set("run/window_placement/rect", 1);
hints["run/window_placement/rect"] = PropertyInfo(Variant::INT, "run/window_placement/rect", PROPERTY_HINT_ENUM, "Default,Centered,Custom Position,Force Maximized,Force Full Screen");
String screen_hints = TTR("Default (Same as Editor)");
for (int i = 0; i < OS::get_singleton()->get_screen_count(); i++) {