Skip to content

Commit

Permalink
restored these
Browse files Browse the repository at this point in the history
  • Loading branch information
Unreal-Dan committed Nov 17, 2023
1 parent bc96d49 commit d334449
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions VortexEngine/src/Menus/MenuList/PatternSelect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit d334449

Please sign in to comment.