Rename "Default" window placement mode to "Top Left"
It is no longer the default value ;)
(cherry picked from commit 686294e4f2
)
This commit is contained in:
parent
8ed6ddd49f
commit
215ce6ab2b
2 changed files with 2 additions and 2 deletions
|
@ -92,7 +92,7 @@ Error EditorRun::run(const String &p_scene, const String p_custom_args, const Li
|
|||
int window_placement = EditorSettings::get_singleton()->get("game_window_placement/rect");
|
||||
|
||||
switch (window_placement) {
|
||||
case 0: { // default
|
||||
case 0: { // top left
|
||||
|
||||
args.push_back("-p");
|
||||
args.push_back(itos(screen_rect.pos.x) + "x" + itos(screen_rect.pos.y));
|
||||
|
|
|
@ -600,7 +600,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
|
|||
set("2d_editor/pan_speed", 20);
|
||||
|
||||
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, "Top Left,Centered,Custom Position,Force Maximized,Force Fullscreen");
|
||||
String screen_hints = TTR("Default (Same as Editor)");
|
||||
for (int i = 0; i < OS::get_singleton()->get_screen_count(); i++) {
|
||||
screen_hints += ",Monitor " + itos(i + 1);
|
||||
|
|
Loading…
Add table
Reference in a new issue