Browse Source

Repair that arrow keys actually trigger a scale update

master
Nils 3 years ago
parent
commit
1efdaa3a27
  1. 1
      CHANGELOG
  2. 8
      qtgui/pattern_grid.py

1
CHANGELOG

@ -5,6 +5,7 @@ Add switch group places to song-structure context menus.
Add View-Menu with options to maximize the two editor areas.
Add advanced feature for a global rhythm offset, meant for Jack-Transport. Allows the whole piece to begin later on the jack-timeline.
Add track groups, which double as midi bus. This enhances overview for more complex projects.
Add option to follow the playhead in pattern view (or not), required by the much longer patterns. Also better scrolling and playhead is always visible now.
2021-01-15 Version 2.0.0
Big new features increase the MAJOR version. Old save files can still be loaded.

8
qtgui/pattern_grid.py

@ -933,11 +933,13 @@ class PitchWidget(QtWidgets.QGraphicsProxyWidget):
def spinBoxValueChanged(self):
self.label.setText(self.midiToNotename(self.spinBox.value()))
#self.parentItem.sendToEngine(callback=False) # results in a loop with callback, and in wrong data without. This is not the right place to implement immediate note feedback while editing is still going on.
self.blockSignals(True)
self.spinBoxEditingFinished(callback=False)
self.blockSignals(False)
def spinBoxEditingFinished(self):
def spinBoxEditingFinished(self, callback=True):
if not self.rememberLastValue == self.spinBox.value():
self.parentItem.sendToEngine()
self.parentItem.sendToEngine(callback)
self.rememberLastValue = self.spinBox.value()
def stepBy(self, n):

Loading…
Cancel
Save