Tweak the "Auto" editor setting hints to be more indicative

This affects the editor scale and font hinting settings which will now
display their automatically chosen value in parentheses.
This commit is contained in:
Hugo Locurcio
2021-01-18 02:39:46 +01:00
parent 49b5776e8b
commit 57654508c9
3 changed files with 29 additions and 2 deletions
+2
View File
@@ -5581,6 +5581,8 @@ EditorNode::EditorNode() {
switch (display_scale) {
case 0: {
// Try applying a suitable display scale automatically.
// The code below is adapted in `editor/editor_settings.cpp` and `editor/project_manager.cpp`.
// Make sure to update those when modifying the code below.
#ifdef OSX_ENABLED
editor_set_scale(DisplayServer::get_singleton()->screen_get_max_scale());
#else