EditorSettings: Default game window placement to Centered.
This commit is contained in:
parent
fe78ebbcb4
commit
6ae8cbb850
|
@ -599,7 +599,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
|
||||||
set("2d_editor/scroll_to_pan", false);
|
set("2d_editor/scroll_to_pan", false);
|
||||||
set("2d_editor/pan_speed", 20);
|
set("2d_editor/pan_speed", 20);
|
||||||
|
|
||||||
set("game_window_placement/rect", 0);
|
set("game_window_placement/rect", 1);
|
||||||
hints["game_window_placement/rect"] = PropertyInfo(Variant::INT, "game_window_placement/rect", PROPERTY_HINT_ENUM, "Default,Centered,Custom Position,Force Maximized,Force Full Screen");
|
hints["game_window_placement/rect"] = PropertyInfo(Variant::INT, "game_window_placement/rect", PROPERTY_HINT_ENUM, "Default,Centered,Custom Position,Force Maximized,Force Full Screen");
|
||||||
String screen_hints = TTR("Default (Same as Editor)");
|
String screen_hints = TTR("Default (Same as Editor)");
|
||||||
for (int i = 0; i < OS::get_singleton()->get_screen_count(); i++) {
|
for (int i = 0; i < OS::get_singleton()->get_screen_count(); i++) {
|
||||||
|
|
Loading…
Reference in New Issue