mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 20:41:49 +00:00
Limit GUI scale by window size, fix tooltip dash glyph
Manual GUI scale is now limited so that UI is never smaller than 640x480 units (as in other games), otherwise menus did not fit the window at scale 3-4 in small windows. The unsupported en dash in the setting tooltip is replaced with a hyphen.
This commit is contained in:
parent
708c276787
commit
851c1a0e27
3 changed files with 15 additions and 13 deletions
|
|
@ -41,7 +41,7 @@ struct DisplaySettings {
|
|||
FlagSetting limitFpsIconified {false};
|
||||
/// @brief Adaptive framerate in menu (experimental)
|
||||
FlagSetting adaptiveFpsInMenu {false};
|
||||
/// @brief GUI scale factor (0 - auto, 1..4 - fixed integer scale)
|
||||
/// @brief GUI scale factor (0 - auto, 1..4 - integer scale limited by window size)
|
||||
IntegerSetting guiScale {0, 0, 4};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue