mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-14 10:25:27 +00:00
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.
(cherry picked from commit 57654508c9)
This commit is contained in:
@@ -2436,6 +2436,8 @@ ProjectManager::ProjectManager() {
|
||||
switch (display_scale) {
|
||||
case 0: {
|
||||
// Try applying a suitable display scale automatically.
|
||||
// The code below is adapted in `editor/editor_settings.cpp` and `editor/editor_node.cpp`.
|
||||
// Make sure to update those when modifying the code below.
|
||||
#ifdef OSX_ENABLED
|
||||
editor_set_scale(OS::get_singleton()->get_screen_max_scale());
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user