Skip to content

Commit 2ccf254

Browse files
committed
Note layout UI fix
1 parent 3811d06 commit 2ccf254

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Applications/Note/Note.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,7 @@ void Note::LayoutSelector() {
691691
MatrixOS::LED::SetColor(origin + Point(6, 3), color);
692692
MatrixOS::LED::SetColor(origin + Point(7, 0), color);
693693
});
694+
octTextDisplay.SetDisableOnTap(false);
694695
octTextDisplay.SetEnableFunc([&]() -> bool { return notePadConfigs[activeConfig].mode == OCTAVE_LAYOUT; });
695696
layoutSelector.AddUIComponent(octTextDisplay, Point(0, 2));
696697

@@ -801,6 +802,7 @@ void Note::LayoutSelector() {
801802
MatrixOS::LED::SetColor(origin + Point(7, 2), color);
802803
MatrixOS::LED::SetColor(origin + Point(7, 3), color);
803804
});
805+
chmTextDisplay.SetDisableOnTap(false);
804806
chmTextDisplay.SetEnableFunc([&]() -> bool { return notePadConfigs[activeConfig].mode == CHROMATIC_LAYOUT; });
805807
layoutSelector.AddUIComponent(chmTextDisplay, Point(0, 2));
806808

@@ -838,6 +840,7 @@ void Note::LayoutSelector() {
838840
MatrixOS::LED::SetColor(origin + Point(7, 2), color);
839841
MatrixOS::LED::SetColor(origin + Point(7, 3), color);
840842
});
843+
pioTextDisplay.SetDisableOnTap(false);
841844
pioTextDisplay.SetEnableFunc([&]() -> bool { return notePadConfigs[activeConfig].mode == PIANO_LAYOUT; });
842845
layoutSelector.AddUIComponent(pioTextDisplay, Point(0, 2));
843846

0 commit comments

Comments
 (0)