Fixed DJUI panels getting stuck when spamming B button
This commit is contained in:
parent
a2bb578dbf
commit
7a61c61051
|
@ -63,6 +63,7 @@ void djui_panel_add(struct DjuiBase* caller, struct DjuiBase* panelBase, struct
|
|||
}
|
||||
|
||||
void djui_panel_back(void) {
|
||||
if (sPanelRemoving != NULL) { return; }
|
||||
if (sPanelList == NULL) { return; }
|
||||
if (sPanelList->parent == NULL) {
|
||||
if (gDjuiPanelPauseCreated) { djui_panel_shutdown(); }
|
||||
|
|
Loading…
Reference in New Issue