pause: fix button icons remaining when UI is hidden
This commit is contained in:
@@ -109,7 +109,17 @@ namespace TLAC::Components
|
||||
else
|
||||
{
|
||||
if (inputState->Tapped.Buttons & JVS_SQUARE)
|
||||
{
|
||||
showUI = !showUI;
|
||||
if (!showUI)
|
||||
{
|
||||
// clear these from the screen too
|
||||
destroyAetLayer(triangleAet);
|
||||
destroyAetLayer(squareAet);
|
||||
destroyAetLayer(crossAet);
|
||||
destroyAetLayer(circleAet);
|
||||
}
|
||||
}
|
||||
|
||||
// only process menu events when UI is visible
|
||||
if (showUI)
|
||||
|
||||
Reference in New Issue
Block a user