mirror of
https://github.com/godotengine/godot
synced 2024-09-06 05:23:54 +00:00
Merge pull request #89255 from passivestar/themable-log-buttons
Add missing normal and hover states to `EditorLogFilterButton`
This commit is contained in:
commit
3cac010344
|
@ -1852,6 +1852,9 @@ void EditorThemeManager::_populate_editor_styles(const Ref<EditorTheme> &p_theme
|
|||
Ref<StyleBoxFlat> editor_log_button_pressed = style_flat_button_pressed->duplicate();
|
||||
editor_log_button_pressed->set_border_width(SIDE_BOTTOM, 2 * EDSCALE);
|
||||
editor_log_button_pressed->set_border_color(p_config.accent_color);
|
||||
|
||||
p_theme->set_stylebox("normal", "EditorLogFilterButton", style_flat_button);
|
||||
p_theme->set_stylebox("hover", "EditorLogFilterButton", style_flat_button_hover);
|
||||
p_theme->set_stylebox("pressed", "EditorLogFilterButton", editor_log_button_pressed);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue