Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Edit/TrackInterface.py
diff options
context:
space:
mode:
authoramartin <olpc@xo-00-CE-12.localdomain>2007-06-29 20:04:34 (GMT)
committer amartin <olpc@xo-00-CE-12.localdomain>2007-06-29 20:04:34 (GMT)
commitfd69395099d5302cb4db19e910e292410b4ae95c (patch)
treeab75467ccff25629eab4263b21df5fc634fead19 /Edit/TrackInterface.py
parent601e1f48e93d7768736cbb2d54015ed2776e5845 (diff)
load/save page props
Diffstat (limited to 'Edit/TrackInterface.py')
-rw-r--r--Edit/TrackInterface.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Edit/TrackInterface.py b/Edit/TrackInterface.py
index 5b4780e..4f9fc64 100644
--- a/Edit/TrackInterface.py
+++ b/Edit/TrackInterface.py
@@ -217,8 +217,8 @@ class TrackInterface( gtk.EventBox ):
if page == self.screenBufPage[self.curScreen]:
self.screenBufBeats[self.curScreen] = value
self.curBeats = value
- if self.playheadT > value*Config.TICKS_PER_BEAT:
- self.playheadT = value*Config.TICKS_PER_BEAT
+ if self.playheadT >= value*Config.TICKS_PER_BEAT:
+ self.playheadT = value*Config.TICKS_PER_BEAT - 1
self.playheadX = self.ticksToPixels( self.curBeats, self.playheadT ) + Config.TRACK_SPACING_DIV2
self.invalidate_rect( 0, 0, self.width, self.height, page )
if page == self.screenBufPage[self.preScreen]: