From 0aaf2d1f341f19b5cc2a4ae223a98e56a0c12341 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 23 Sep 2016 13:57:12 -0500 Subject: clear filtered note map when entered drum mode --- libs/surfaces/push2/push2.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs/surfaces') 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) { -- cgit v1.2.3