You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
Fix typos with codespell
Using codespell 2.1.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear dof doubleclick fave findn GIRD leapyear lod merchantibility nd numer ois ony que readded seeked statics synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
This commit is contained in:
@@ -1450,7 +1450,7 @@ float EditorSettings::get_auto_display_scale() const {
|
||||
return OS::get_singleton()->get_screen_max_scale();
|
||||
#else
|
||||
const int screen = OS::get_singleton()->get_current_screen();
|
||||
// Use the smallest dimension to use a correct display scale on portait displays.
|
||||
// Use the smallest dimension to use a correct display scale on portrait displays.
|
||||
const int smallest_dimension = MIN(OS::get_singleton()->get_screen_size(screen).x, OS::get_singleton()->get_screen_size(screen).y);
|
||||
if (OS::get_singleton()->get_screen_dpi(screen) >= 192 && smallest_dimension >= 1400) {
|
||||
// hiDPI display.
|
||||
|
||||
Reference in New Issue
Block a user