diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-05-31 15:28:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-31 15:28:14 +0200 |
commit | 29645c81476cb2f843f36070533281ba275f9400 (patch) | |
tree | fa79bef1a12eed3baaf1ce97a71276625c1b1ee3 | |
parent | 5098d2c46be1a00fda1ce11c7eec5405284a7d4e (diff) | |
parent | 910bee9fa111f5bcebd25db1db85d1bbdba1c5b7 (diff) |
Merge pull request #27334 from qarmin/add_50_percent_editor_scale
Add support for 50% editor scale
-rw-r--r-- | editor/editor_settings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_settings.cpp b/editor/editor_settings.cpp index 2c0b3a350f..ef8456549a 100644 --- a/editor/editor_settings.cpp +++ b/editor/editor_settings.cpp @@ -318,7 +318,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) { _initial_set("interface/editor/display_scale", 0); hints["interface/editor/display_scale"] = PropertyInfo(Variant::INT, "interface/editor/display_scale", PROPERTY_HINT_ENUM, "Auto,75%,100%,125%,150%,175%,200%,Custom", PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_RESTART_IF_CHANGED); _initial_set("interface/editor/custom_display_scale", 1.0f); - hints["interface/editor/custom_display_scale"] = PropertyInfo(Variant::REAL, "interface/editor/custom_display_scale", PROPERTY_HINT_RANGE, "0.75,3,0.01", PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_RESTART_IF_CHANGED); + hints["interface/editor/custom_display_scale"] = PropertyInfo(Variant::REAL, "interface/editor/custom_display_scale", PROPERTY_HINT_RANGE, "0.5,3,0.01", PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_RESTART_IF_CHANGED); _initial_set("interface/editor/main_font_size", 14); hints["interface/editor/main_font_size"] = PropertyInfo(Variant::INT, "interface/editor/main_font_size", PROPERTY_HINT_RANGE, "10,40,1", PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_RESTART_IF_CHANGED); _initial_set("interface/editor/code_font_size", 14); |