Skip to content

Commit

Permalink
Merge pull request #89255 from passivestar/themable-log-buttons
Browse files Browse the repository at this point in the history
Add missing normal and hover states to `EditorLogFilterButton`
  • Loading branch information
akien-mga committed Mar 8, 2024
2 parents 1c8ef9e + bcfca02 commit 3cac010
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions editor/themes/editor_theme_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 3cac010

Please sign in to comment.