diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-09-23 13:57:12 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-09-27 14:59:32 -0500 |
commit | 0aaf2d1f341f19b5cc2a4ae223a98e56a0c12341 (patch) | |
tree | 6a26a1533db55048c846710d438bcc2b01177891 /libs/surfaces | |
parent | ae01ac238482311f08c706c594f7ed5717cd50ef (diff) |
clear filtered note map when entered drum mode
Diffstat (limited to 'libs/surfaces')
-rw-r--r-- | libs/surfaces/push2/push2.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/surfaces/push2/push2.cc b/libs/surfaces/push2/push2.cc index 8f581f41da..a9498ee383 100644 --- a/libs/surfaces/push2/push2.cc +++ b/libs/surfaces/push2/push2.cc @@ -1470,6 +1470,8 @@ Push2::set_percussive_mode (bool yn) int drum_note = 36; + fn_pad_map.clear (); + for (int row = 0; row < 8; ++row) { for (int col = 0; col < 4; ++col) { |