Browse Source

don't center on active tracks. disturbing

master
Nils 3 years ago
parent
commit
c0c090e1c8
  1. 3
      qtgui/mainwindow.py

3
qtgui/mainwindow.py

@ -265,9 +265,6 @@ class MainWindow(TemplateMainWindow):
#Functions depend on getting set after getting called. They need to know the old track!
self.currentTrackId = newCurrentTrackId
self.songEditor.parentView.centerOn(d[newCurrentTrackId])
def addPatternTrack(self):
"""Add a new track and initialize it with some data from the current one"""
scale = api.session.data.trackById(self.currentTrackId).pattern.scale #TODO: Access to the sessions data structure directly instead of api. Not good. Getter function or api @property is cleaner.

Loading…
Cancel
Save