Improve bitmap font scaling. Fix default theme font size.

This commit is contained in:
bruvzg
2021-03-08 08:27:57 +02:00
parent 05248535f7
commit 43c7c279d5
4 changed files with 24 additions and 21 deletions
@@ -1017,7 +1017,7 @@ void make_default_theme(bool p_hidpi, Ref<Font> p_font) {
Ref<StyleBox> default_style;
Ref<Texture2D> default_icon;
Ref<Font> default_font;
int default_font_size = 16;
int default_font_size = 14;
if (p_font.is_valid()) {
default_font = p_font;
} else if (p_hidpi) {