mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Add missing hover indication to movie maker button
This commit is contained in:
@@ -1648,7 +1648,11 @@ void ThemeModern::populate_editor_styles(const Ref<EditorTheme> &p_theme, Editor
|
||||
// Needs to present even if unused.
|
||||
p_theme->set_type_variation("RunBarButtonMovieMakerDisabled", "RunBarButton");
|
||||
|
||||
Ref<StyleBoxFlat> movie_maker_button_enabled_hover = run_bar_hover->duplicate();
|
||||
movie_maker_button_enabled_hover->set_bg_color(p_config.accent_color.lightened(0.2));
|
||||
|
||||
p_theme->set_type_variation("RunBarButtonMovieMakerEnabled", "RunBarButton");
|
||||
p_theme->set_stylebox("hover_pressed", "RunBarButtonMovieMakerEnabled", movie_maker_button_enabled_hover);
|
||||
p_theme->set_color("icon_normal_color", "RunBarButtonMovieMakerEnabled", Color(0, 0, 0, 0.7));
|
||||
p_theme->set_color("icon_pressed_color", "RunBarButtonMovieMakerEnabled", Color(0, 0, 0, 0.84));
|
||||
p_theme->set_color("icon_hover_color", "RunBarButtonMovieMakerEnabled", Color(0, 0, 0, 0.9));
|
||||
|
||||
Reference in New Issue
Block a user