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:
Unknown W. Brackets 2017-03-12 12:17:35 -07:00
parent b0bd7e3c6f
commit ef57eafaad
8 changed files with 15 additions and 3 deletions

View file

@ -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;