From 028bb461d19c3d1b18c16c56922a5c52e651e444 Mon Sep 17 00:00:00 2001 From: Nils <> Date: Tue, 11 Aug 2020 17:41:42 +0200 Subject: [PATCH] Allow note_on velocitiy 0 --- qtgui/pattern_grid.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qtgui/pattern_grid.py b/qtgui/pattern_grid.py index c74afd1..21d8a68 100644 --- a/qtgui/pattern_grid.py +++ b/qtgui/pattern_grid.py @@ -603,8 +603,8 @@ class Step(QtWidgets.QGraphicsRectItem): self.velocity = 127 else: self.velocity -= 2 - if self.velocity <= 2: - self.velocity = 1 + if self.velocity < 0: + self.velocity = 0 else: event.ignore()