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-05-28-21.localdomain>2007-07-20 09:05:56 (GMT)
committer amartin <olpc@xo-05-28-21.localdomain>2007-07-20 09:05:56 (GMT)
commit8d3015f87bc7270572b419e184184abc139a497c (patch)
tree94821325c249d14326a1a43d4910c3e03bf7b376 /Edit/TrackInterface.py
parent1af282d79ba87022d6f34ba258c17c49eb9dce05 (diff)
keyboard recording fixes + page properties
Diffstat (limited to 'Edit/TrackInterface.py')
-rw-r--r--Edit/TrackInterface.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Edit/TrackInterface.py b/Edit/TrackInterface.py
index f99cd44..8e29b82 100644
--- a/Edit/TrackInterface.py
+++ b/Edit/TrackInterface.py
@@ -432,7 +432,7 @@ class TrackInterface( gtk.EventBox ):
self.scale = self.getScale()
self.painting = True
self.paintTrack = i
- self.GRID = 3.
+ self.GRID = Config.DEFAULT_GRID
if i == self.drumIndex:
pitch = min( self.pixelsToPitchDrumFloor( self.clickLoc[1] - self.trackLimits[i][1] + Config.HIT_HEIGHT//2 )//Config.PITCH_STEP_DRUM, Config.NUMBER_OF_POSSIBLE_PITCHES_DRUM-1)*Config.PITCH_STEP_DRUM + Config.MINIMUM_PITCH_DRUM
if pitch < 24: