diff options
| author | Rémi Verschelde | 2017-08-20 14:16:31 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2017-08-20 14:16:31 +0200 |
| commit | 686294e4f2e19598c350008e2268a1e103d6281a (patch) | |
| tree | d70edac6257a010b5aeb4f91fcba840550530396 | |
| parent | 7e5890d23d882547ae465fb7756b74be5bc1f62b (diff) | |
| download | godot-686294e4f2e19598c350008e2268a1e103d6281a.tar.gz godot-686294e4f2e19598c350008e2268a1e103d6281a.tar.zst godot-686294e4f2e19598c350008e2268a1e103d6281a.zip | |
Rename "Default" window placement mode to "Top Left"
It is no longer the default value ;)
| -rw-r--r-- | editor/editor_run.cpp | 2 | ||||
| -rw-r--r-- | editor/editor_settings.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_run.cpp b/editor/editor_run.cpp index 4954b1f74..e1ef20255 100644 --- a/editor/editor_run.cpp +++ b/editor/editor_run.cpp @@ -93,7 +93,7 @@ Error EditorRun::run(const String &p_scene, const String p_custom_args, const Li int window_placement = EditorSettings::get_singleton()->get("run/window_placement/rect"); switch (window_placement) { - case 0: { // default + case 0: { // top left args.push_back("-p"); args.push_back(itos(screen_rect.position.x) + "x" + itos(screen_rect.position.y)); diff --git a/editor/editor_settings.cpp b/editor/editor_settings.cpp index 8494c7199..161898b53 100644 --- a/editor/editor_settings.cpp +++ b/editor/editor_settings.cpp @@ -684,7 +684,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) { set("editors/poly_editor/point_grab_radius", 8); 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"); + hints["run/window_placement/rect"] = PropertyInfo(Variant::INT, "run/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); |
