From 7e682ce7620f1f8a9fb9b4ffc4f4039dbfdffc56 Mon Sep 17 00:00:00 2001 From: amartin Date: Mon, 10 Sep 2007 05:03:34 +0000 Subject: Jam Popups --- (limited to 'Edit') diff --git a/Edit/TrackInterface.py b/Edit/TrackInterface.py index db39f70..b8a3a27 100644 --- a/Edit/TrackInterface.py +++ b/Edit/TrackInterface.py @@ -433,9 +433,9 @@ class TrackInterface( gtk.EventBox ): n.playSampleNote( False ) noteS = self.noteDB.getNotesByTrack(self.curPage, i) - for n in noteS: - if n.cs.onset < snapOnset and (n.cs.onset + n.cs.duration) > snapOnset: - self.noteDB.updateNote(self.curPage, i, n.id, PARAMETER.DURATION, snapOnset - n.cs.onset) + for note in noteS: + if note.cs.onset < snapOnset and (note.cs.onset + note.cs.duration) > snapOnset: + self.noteDB.updateNote(self.curPage, i, note.id, PARAMETER.DURATION, snapOnset - note.cs.onset) if i != self.drumIndex: # switch to drag duration self.updateDragLimits() -- cgit v0.9.1