You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 19:41:11 +00:00
Merge pull request #56376 from pycbouh/theme-tombe-les-theme-properties
This commit is contained in:
@@ -273,8 +273,8 @@ void editor_register_fonts(Ref<Theme> p_theme) {
|
||||
|
||||
// Default font
|
||||
MAKE_DEFAULT_FONT(df, String());
|
||||
p_theme->set_default_theme_font(df); // Default theme font
|
||||
p_theme->set_default_theme_font_size(default_font_size);
|
||||
p_theme->set_default_font(df); // Default theme font
|
||||
p_theme->set_default_font_size(default_font_size);
|
||||
|
||||
p_theme->set_font_size("main_size", "EditorFonts", default_font_size);
|
||||
p_theme->set_font("main", "EditorFonts", df);
|
||||
|
||||
@@ -294,7 +294,7 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
|
||||
Ref<Theme> theme = Ref<Theme>(memnew(Theme));
|
||||
|
||||
// Controls may rely on the scale for their internal drawing logic.
|
||||
theme->set_default_theme_base_scale(EDSCALE);
|
||||
theme->set_default_base_scale(EDSCALE);
|
||||
|
||||
// Theme settings
|
||||
Color accent_color = EDITOR_GET("interface/theme/accent_color");
|
||||
|
||||
Reference in New Issue
Block a user