From d33444943a6d144478c78454031dc9338db4c314 Mon Sep 17 00:00:00 2001 From: Dan Date: Fri, 17 Nov 2023 10:53:20 -0800 Subject: [PATCH] restored these --- VortexEngine/src/Menus/MenuList/PatternSelect.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/VortexEngine/src/Menus/MenuList/PatternSelect.cpp b/VortexEngine/src/Menus/MenuList/PatternSelect.cpp index cdd709587f..86a21bf809 100644 --- a/VortexEngine/src/Menus/MenuList/PatternSelect.cpp +++ b/VortexEngine/src/Menus/MenuList/PatternSelect.cpp @@ -131,6 +131,10 @@ void PatternSelect::nextPattern() if (newID > endList || newID < beginList) { newID = beginList; } + if (!m_started) { + m_started = true; + m_newPatternID = PATTERN_FIRST; + } // set the new pattern id if (isMultiLedPatternID(newID)) { m_previewMode.setPattern(newID); @@ -163,6 +167,10 @@ void PatternSelect::previousPattern() if (newID > endList || newID < beginList) { newID = endList; } + if (!m_started) { + m_started = true; + m_newPatternID = PATTERN_FIRST; + } // set the new pattern id if (isMultiLedPatternID(newID)) { m_previewMode.setPattern(newID);