menu handler running

This commit is contained in:
2023-07-04 10:22:22 +02:00
parent f2bb6c3430
commit 996d770780
3 changed files with 40 additions and 22 deletions

View File

@@ -55,6 +55,10 @@ func (e *Engine) MenuUpdate() {
menu.CurrentSelected--
}
if e.Controller.Action0Pressed() {
menu.MenuItems[menu.CurrentSelected].Handler()
}
e.MenuMap[e.KContext.Screen.Value] = menu
}