Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/track.py
diff options
context:
space:
mode:
Diffstat (limited to 'track.py')
-rw-r--r--track.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/track.py b/track.py
index 0489145..d9f8514 100644
--- a/track.py
+++ b/track.py
@@ -61,6 +61,7 @@ class Track:
context.move_to(width - rmarg, self.piano.ymin + self.linespacing * 2)
context.line_to(width - rmarg, self.piano.ymax - self.linespacing * 3)
context.stroke()
+ context.clip()
def set_y(self, y):
self._y = y