added function focused and focused_horizontal to theme.rs

This commit is contained in:
Giuliano Bellini s294739 2023-01-23 17:56:39 +01:00
parent eaa2238600
commit 49e9a9a537
2 changed files with 19 additions and 2 deletions

View file

@ -859,7 +859,7 @@ pub fn draw<Renderer>(
} else if mouse_over_scrollable {
theme.focused(style)
} else {
theme.focused(style)
theme.active(style)
};
draw_scrollbar(renderer, style, &scrollbar);
@ -874,7 +874,7 @@ pub fn draw<Renderer>(
} else if mouse_over_scrollable {
theme.focused_horizontal(style)
} else {
theme.focused_horizontal(style)
theme.active_horizontal(style)
};
draw_scrollbar(renderer, style, &scrollbar);