virtualx-engine/editor
Hugo Locurcio dd2fc60abc
Handle portrait mode monitors in the automatic editor scale detection
Using the smallest dimension of the width and height makes it possible
to support both landscape and portrait monitors.

(cherry picked from commit 728fa3ff71)

EditorSettings: Factor code to compute auto display scale

Also fixes typo introduced in https://github.com/godotengine/godot/pull/48597/files#r652636544.

(cherry picked from commit f862f9a056)
2021-06-17 12:47:52 +02:00
..
collada Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
doc Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
fileserver Make all file access 64-bit (uint64_t) 2021-05-16 17:52:31 +02:00
icons Remove the 3D camera gizmo icon 2021-06-16 07:03:11 +02:00
import Merge pull request #47854 from mortarroad/3.x-lossless-webp 2021-06-11 19:35:47 +02:00
plugins Don't use the abbrevation "Sep." in UI text 2021-06-17 11:49:31 +02:00
translations i18n: Sync translations with Weblate 2021-06-16 13:48:12 +02:00
animation_bezier_editor.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
animation_bezier_editor.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
animation_track_editor.cpp Add animation reset track feature 2021-05-09 09:40:16 +02:00
animation_track_editor.h Add animation reset track feature 2021-05-09 09:40:16 +02:00
animation_track_editor_plugins.cpp Preview the color animation in the animation editor 2021-06-03 12:24:57 +02:00
animation_track_editor_plugins.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
array_property_edit.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
array_property_edit.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
audio_stream_preview.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
audio_stream_preview.h Modernize atomics 2021-02-18 12:23:25 +01:00
code_editor.cpp Add a soft line length guideline to the script editor 2021-06-16 06:00:02 +02:00
code_editor.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
connections_dialog.cpp List "Argument" for each extra bind argument in the connect dialog 2021-05-21 13:41:27 +02:00
connections_dialog.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
create_dialog.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
create_dialog.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
dependency_editor.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
dependency_editor.h Style: Set clang-format Standard to c++14 2021-05-04 14:45:15 +02:00
dictionary_property_edit.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
dictionary_property_edit.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_about.cpp Merge pull request #48450 from Calinou/version-click-to-copy-3.x 2021-05-04 17:55:43 +02:00
editor_about.h Make it possible to copy the Godot version identifier by clicking it 2021-05-04 16:38:17 +02:00
editor_asset_installer.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
editor_asset_installer.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_atlas_packer.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
editor_atlas_packer.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_audio_buses.cpp Improve the audio bus editor appearance 2021-06-01 12:53:30 +02:00
editor_audio_buses.h Improve the audio bus editor appearance 2021-06-01 12:53:30 +02:00
editor_autoload_settings.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
editor_autoload_settings.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
editor_builders.py SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
editor_data.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
editor_data.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
editor_dir_dialog.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
editor_dir_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_export.cpp Remove duplicate ERR_PRINTS macro 2021-06-16 11:56:25 +01:00
editor_export.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
editor_feature_profile.cpp Merge pull request #49653 from madmiraal/remove-err_prints-3.x 2021-06-16 17:33:22 +02:00
editor_feature_profile.h Improve the editor feature profiles UX 2021-06-16 07:04:13 +02:00
editor_file_dialog.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
editor_file_dialog.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_file_system.cpp Remove duplicate ERR_PRINTS macro 2021-06-16 11:56:25 +01:00
editor_file_system.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
editor_folding.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
editor_folding.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_fonts.cpp Improve editor text appearance in (un)zoomed GraphEdit-based editors 2021-02-06 19:24:05 +01:00
editor_fonts.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_help.cpp Fix previous search for built-in-docs 2021-06-08 23:11:42 -07:00
editor_help.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_help_search.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
editor_help_search.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_inspector.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
editor_inspector.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_layouts_dialog.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
editor_layouts_dialog.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_log.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
editor_log.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_network_profiler.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_network_profiler.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_node.cpp Handle portrait mode monitors in the automatic editor scale detection 2021-06-17 12:47:52 +02:00
editor_node.h Add "Support Godot Development" option to the editor's Help menu 2021-05-17 13:06:11 +02:00
editor_path.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
editor_path.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_plugin.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
editor_plugin.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
editor_plugin_settings.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
editor_plugin_settings.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_profiler.cpp Fix editor crash when exporting profiler data 2021-05-21 13:41:27 +02:00
editor_profiler.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_properties.cpp Use EditorResourcePicker in the Inspector 2021-06-11 13:32:15 +03:00
editor_properties.h Use EditorResourcePicker in the Inspector 2021-06-11 13:32:15 +03:00
editor_properties_array_dict.cpp Use EditorResourcePicker in the Inspector 2021-06-11 13:32:15 +03:00
editor_properties_array_dict.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_resource_picker.cpp Add EditorResourcePicker control based on the Inspector editor for Resources 2021-06-11 13:32:15 +03:00
editor_resource_picker.h Add EditorResourcePicker control based on the Inspector editor for Resources 2021-06-11 13:32:15 +03:00
editor_resource_preview.cpp Remove duplicate ERR_PRINTS macro 2021-06-16 11:56:25 +01:00
editor_resource_preview.h Update EditorResourcePreview queue_*() documentation 2021-05-26 08:39:52 +01:00
editor_run.cpp Implement the %command% placeholder in the Main Run Args setting 2021-05-09 17:47:38 +02:00
editor_run.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_run_native.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
editor_run_native.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_run_script.cpp Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
editor_run_script.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_scale.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_scale.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_sectioned_inspector.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
editor_sectioned_inspector.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_settings.cpp Handle portrait mode monitors in the automatic editor scale detection 2021-06-17 12:47:52 +02:00
editor_settings.h Handle portrait mode monitors in the automatic editor scale detection 2021-06-17 12:47:52 +02:00
editor_spin_slider.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
editor_spin_slider.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_sub_scene.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
editor_sub_scene.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
editor_themes.cpp Highlight control flow keywords with a different color 2021-05-25 00:31:39 +02:00
editor_themes.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
editor_vcs_interface.cpp Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
editor_vcs_interface.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
export_template_manager.cpp Remove duplicate ERR_PRINTS macro 2021-06-16 11:56:25 +01:00
export_template_manager.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
filesystem_dock.cpp FileSystem dock: Fix search shortcut 2021-05-17 13:32:44 +02:00
filesystem_dock.h Make shortcut for focusing searchbar in filesystem dock 2021-05-17 13:11:07 +02:00
find_in_files.cpp Tweak highlight color in the editor Find in Files dialog 2021-05-21 13:41:27 +02:00
find_in_files.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
groups_editor.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
groups_editor.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
import_defaults_editor.cpp Style: Set clang-format Standard to c++14 2021-05-04 14:45:15 +02:00
import_defaults_editor.h Backport the Import Defaults Editor 2021-02-24 17:50:42 -03:00
import_dock.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
import_dock.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
inspector_dock.cpp Tweak the "Changes may be lost!" text color to match the icon's color 2021-06-16 06:35:27 +02:00
inspector_dock.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
multi_node_edit.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
multi_node_edit.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
node_dock.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
node_dock.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
pane_drag.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
pane_drag.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
plugin_config_dialog.cpp Wrap description TextEdit of plugin config dialog 2021-06-01 12:53:31 +02:00
plugin_config_dialog.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
progress_dialog.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
progress_dialog.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
project_export.cpp Remove duplicate ERR_PRINTS macro 2021-06-16 11:56:25 +01:00
project_export.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
project_manager.cpp Handle portrait mode monitors in the automatic editor scale detection 2021-06-17 12:47:52 +02:00
project_manager.h Make it possible to copy the Godot version identifier by clicking it 2021-05-04 16:38:17 +02:00
project_settings_editor.cpp Fix game controllers ignoring the last listed button 2021-06-03 15:45:05 +01:00
project_settings_editor.h Add physical_scancode (keyboard layout independent keycodes) to InputEventKey and InputMap. 2021-05-06 23:19:45 +03:00
property_editor.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
property_editor.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
property_selector.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
property_selector.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
quick_open.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
quick_open.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
register_exporters.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rename_dialog.cpp Remove duplicate ERR_PRINTS macro 2021-06-16 11:56:25 +01:00
rename_dialog.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
reparent_dialog.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
reparent_dialog.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
run_settings_dialog.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
run_settings_dialog.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
scene_tree_dock.cpp Remove duplicate ERR_PRINTS macro 2021-06-16 11:56:25 +01:00
scene_tree_dock.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
scene_tree_editor.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
scene_tree_editor.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
script_create_dialog.cpp Set a minimum size for status panel elements in ScriptCreateDialog 2021-05-20 08:08:24 -04:00
script_create_dialog.h Style: Set clang-format Standard to c++14 2021-05-04 14:45:15 +02:00
script_editor_debugger.cpp Remove duplicate ERR_PRINTS macro 2021-06-16 11:56:25 +01:00
script_editor_debugger.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
settings_config_dialog.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
settings_config_dialog.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
spatial_editor_gizmos.cpp Remove the 3D camera gizmo icon 2021-06-16 07:03:11 +02:00
spatial_editor_gizmos.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00