summaryrefslogtreecommitdiffstats
path: root/editor/editor_node.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-01-18 16:47:18 +0100
committerGitHub <noreply@github.com>2021-01-18 16:47:18 +0100
commiteba982b9a39eeaca7977381a93d1a672eca82a3f (patch)
tree38ed2b60b29ce634fdc0cb21ecb5f04cedc07180 /editor/editor_node.cpp
parenteb77d0cf1b39fd03b0beb1b1c98ddc89f55074ab (diff)
parent57654508c91fa5eb166a02d4c1174a056da2afbb (diff)
downloadredot-engine-eba982b9a39eeaca7977381a93d1a672eca82a3f.tar.gz
Merge pull request #45270 from Calinou/editor-tweak-font-hinting-hint
Tweak the "Auto" editor setting hints to be more indicative
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r--editor/editor_node.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp
index ddd9494fdd..f5260f773d 100644
--- a/editor/editor_node.cpp
+++ b/editor/editor_node.cpp
@@ -5574,6 +5574,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