diff --git a/source-code/source/plugins/TLAC/Components/Pause.cpp b/source-code/source/plugins/TLAC/Components/Pause.cpp index 52337c6..ad7eca4 100644 --- a/source-code/source/plugins/TLAC/Components/Pause.cpp +++ b/source-code/source/plugins/TLAC/Components/Pause.cpp @@ -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)