mirror of
https://github.com/godotengine/godot.git
synced 2024-11-24 05:04:10 +00:00
Merge pull request #10473 from akien-mga/run_window_placement_default
Rename "Default" window placement mode to "Top Left"
This commit is contained in:
commit
20ab8c1156
@ -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));
|
||||
|
@ -686,7 +686,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);
|
||||
|
Loading…
Reference in New Issue
Block a user