1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Merge pull request #45270 from Calinou/editor-tweak-font-hinting-hint

Tweak the "Auto" editor setting hints to be more indicative
This commit is contained in:
Rémi Verschelde
2021-01-18 16:47:18 +01:00
committed by GitHub
3 changed files with 29 additions and 2 deletions

View File

@@ -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