|
|
@ -40,6 +40,10 @@ class SongEditor(QtWidgets.QGraphicsScene): |
|
|
|
super().__init__() |
|
|
|
self.parentView = parentView |
|
|
|
|
|
|
|
#Set color, otherwise it will be transparent in window managers or wayland that want that. |
|
|
|
self.backColor = QtGui.QColor(55, 61, 69) |
|
|
|
self.setBackgroundBrush(self.backColor) |
|
|
|
|
|
|
|
#Subitems |
|
|
|
self.playhead = Playhead(parentScene = self) |
|
|
|
self.addItem(self.playhead) |
|
|
@ -524,6 +528,11 @@ class TrackLabelEditor(QtWidgets.QGraphicsScene): |
|
|
|
|
|
|
|
self._cachedExportDictsInOrder = [] |
|
|
|
|
|
|
|
#Set color, otherwise it will be transparent in window managers or wayland that want that. |
|
|
|
self.backColor = QtGui.QColor(55, 61, 69) |
|
|
|
self.backColor = QtGui.QColor(48, 53, 60) |
|
|
|
self.setBackgroundBrush(self.backColor) |
|
|
|
|
|
|
|
api.callbacks.numberOfTracksChanged.append(self.callback_numberOfTracksChanged) |
|
|
|
api.callbacks.trackMetaDataChanged.append(self.callback_trackMetaDataChanged) |
|
|
|
api.callbacks.exportCacheChanged.append(self.cacheExportDict) |
|
|
|