1
0
mirror of synced 2025-02-02 20:37:25 +01:00

Button Highligh now works in menus and submenus

This commit is contained in:
Stepland 2020-03-07 22:46:10 +01:00
parent de51fb4fa5
commit 4d153414b7

View File

@ -34,6 +34,7 @@ namespace MusicSelect {
} }
void RibbonPage::button_click(const Data::Button& button) { void RibbonPage::button_click(const Data::Button& button) {
resources.button_highlight.button_pressed(button);
auto button_index = Data::button_to_index(button); auto button_index = Data::button_to_index(button);
if (button_index < 12) { if (button_index < 12) {
m_ribbon.click_on(button); m_ribbon.click_on(button);