public void hideCenterMenu() { centerMenu.ActiveButton = null; centerMenu.hide(); // centerMenu.reset(); // Odd here if (secondaryMenu.currentLayout == layouts.TRANSLATION) { secondaryMenu.switchLayout(layouts.EDIT); } }
public void drawSecondaryMenu(layouts layout) { secondaryMenu.switchLayout(layout); secondaryMenu.show(); }