Skip to content

Commit 24349dd

Browse files
committed
set the display scale to 'Custom' when custom display scale changed
1 parent 30a0296 commit 24349dd

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

editor/settings/editor_settings_dialog.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ void EditorSettingsDialog::_settings_property_edited() {
9393
} else if (full_name == "editors/3d/navigation/navigation_scheme") {
9494
update_3d_navigation_preset();
9595
_update_shortcuts();
96+
} else if (full_name == "interface/editor/appearance/custom_display_scale") {
97+
// The "Custom" display scale is index 7 in the setting's enum hint.
98+
EditorSettings::get_singleton()->set_manually("interface/editor/appearance/display_scale", 7);
9699
}
97100
}
98101

0 commit comments

Comments
 (0)