Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Edit/TrackInterface.py
diff options
context:
space:
mode:
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: