Ignore empty Font resources as theme override.
Add range hint to font_size properties. Remove excessive `base_size` Font property.
This commit is contained in:
parent
92a2380d96
commit
ebbc25e89c
19 changed files with 99 additions and 144 deletions
|
|
@ -1030,7 +1030,6 @@ void make_default_theme(bool p_hidpi, Ref<Font> p_font) {
|
|||
dynamic_font_data.instantiate();
|
||||
dynamic_font_data->set_data_ptr(_font_OpenSans_SemiBold, _font_OpenSans_SemiBold_size);
|
||||
dynamic_font->add_data(dynamic_font_data);
|
||||
dynamic_font->set_base_size(default_font_size);
|
||||
|
||||
default_font = dynamic_font;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue