Skip to content

Commit

Permalink
fixed pattern select (#132)
Browse files Browse the repository at this point in the history
* fixed pattern select
* fixed test
  • Loading branch information
Unreal-Dan authored Oct 27, 2023
1 parent dd61b99 commit 5b464a9
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 99 deletions.
3 changes: 1 addition & 2 deletions VortexEngine/src/Menus/MenuList/PatternSelect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ Menu::MenuAction PatternSelect::run()
break;
}

// run the current mode
m_previewMode.play();
// show selections
Menus::showSelection();
return MENU_CONTINUE;
Expand All @@ -71,6 +69,7 @@ void PatternSelect::showListSelection()

void PatternSelect::showPatternSelection()
{
// run the current mode
m_previewMode.play();
if (g_pButton->isPressed() && g_pButton->holdDuration() > SHORT_CLICK_THRESHOLD_TICKS) {
Leds::setAll(RGB_WHITE4);
Expand Down
Loading

0 comments on commit 5b464a9

Please sign in to comment.