Browse Source

Clear piano roll from colors when switching instrument

master
Nils 8 months ago
parent
commit
05d768ab0b
  1. 3
      qtgui/verticalpiano.py

3
qtgui/verticalpiano.py

@ -163,6 +163,9 @@ class _VerticalPianoScene(QtWidgets.QGraphicsScene):
api.callbacks.instrumentStatusChanged.append(self.instrumentStatusChanged)
def clearVerticalPiano(self):
for colorKeyObj in self.colorKeys.values():
colorKeyObj.hide()
self.allHighlightsOff()
for nl in self.numberLabels:
nl.setLabel("") #reset to just number

Loading…
Cancel
Save