diff options
| author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-01-18 02:39:46 +0100 |
|---|---|---|
| committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-01-18 16:29:04 +0100 |
| commit | 57654508c91fa5eb166a02d4c1174a056da2afbb (patch) | |
| tree | 32526cb59356865199ba267a601154296c6f3503 /editor/editor_node.cpp | |
| parent | 49b5776e8bd62b4bfb6511cca770611b6a3062e4 (diff) | |
| download | redot-engine-57654508c91fa5eb166a02d4c1174a056da2afbb.tar.gz | |
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.
Diffstat (limited to 'editor/editor_node.cpp')
| -rw-r--r-- | editor/editor_node.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index e3d7f67d4a..b1323c8314 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -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 |
