EditorSettings: Default game window placement to Centered.

Fixes #8890
This commit is contained in:
Andreas Haas 2017-06-12 21:03:22 +02:00
parent 9570fb14be
commit 5f1603ca45
No known key found for this signature in database
GPG Key ID: B5FFAE1B65FBD2E1

View File

@ -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++) {