Browse Source

Remove template api override

master
Nils 6 years ago
parent
commit
2f0cd6da64
  1. 9
      engine/api.py

9
engine/api.py

@ -133,15 +133,6 @@ class ClientCallbacks(Callbacks): #inherits from the templates api callbacks
for func in self.trackStructureChanged:
func(export)
def _numberOfTracksChanged(self):
"""sent the current track order as list of ids, combined with their structure.
This is also used when tracks get created or deleted, also on initial load.
This also includes the pattern.
"""
lst = [track.export() for track in session.data.tracks]
for func in self.numberOfTracksChanged:
func(lst)
def _trackMetaDataChanged(self, track):
"""a low cost function that should not trigger anything costly to redraw
but some text and simple widgets."""

Loading…
Cancel
Save