Work around issue #4908.

This commit is contained in:
Glen Whitney 2020-05-20 23:27:07 -07:00 committed by Gunter Labes
parent b331a08caa
commit b91b5095e5

View file

@ -97,7 +97,7 @@
# dpi. It came out looking pretty decent on my 90-micron monitor.
#define _GUI_SCALE_RES SIZE
"(floor({SIZE} * 265 * 2 / (3 * screen_pitch_microns)))"
"(max({SIZE}, floor({SIZE} * 265 * 2 / (3 * screen_pitch_microns))))"
#enddef
#define _GUI_DEFINITION ID DESCRIPTION FONT_FAMILY FONT_SIZE FONT_STYLE FONT_COLOR