Button Highligh now works in menus and submenus
This commit is contained in:
parent
de51fb4fa5
commit
4d153414b7
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user