Correct GE debugger font size in small window mode.
This should handle high and low DPI cases correctly, to avoid making the text unreadably small.
This commit is contained in:
parent
b0bd7e3c6f
commit
ef57eafaad
8 changed files with 15 additions and 3 deletions
|
@ -166,6 +166,8 @@ bool UpdateScreenScale(int width, int height) {
|
|||
g_dpi = 96;
|
||||
g_dpi_scale = 1.0f;
|
||||
#endif
|
||||
g_dpi_scale_real = g_dpi_scale;
|
||||
|
||||
smallWindow = IsWindowSmall(width, height);
|
||||
if (smallWindow) {
|
||||
g_dpi /= 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue