Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Edit/NoteInterface.py
diff options
context:
space:
mode:
authoramartin <olpc@localhost.localdomain>2007-02-18 02:27:40 (GMT)
committer amartin <olpc@localhost.localdomain>2007-02-18 02:27:40 (GMT)
commit293b47cd9c714730ab5fdd38414d2e817313a213 (patch)
treeb98a7445f4c601c1d417c9b3b05527ead3abcc47 /Edit/NoteInterface.py
parent413329130347634f7bb567ccf2dfe4a47480067a (diff)
note drawing
Diffstat (limited to 'Edit/NoteInterface.py')
-rw-r--r--Edit/NoteInterface.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Edit/NoteInterface.py b/Edit/NoteInterface.py
index c923013..90a941e 100644
--- a/Edit/NoteInterface.py
+++ b/Edit/NoteInterface.py
@@ -88,7 +88,7 @@ class NoteInterface:
self.imgX = self.x - Config.NOTE_IMAGE_PADDING
self.oldOnset = self.note.cs.onset
if self.end != self.oldEnd or self.note.cs.onset != self.oldOnset:
- self.width = self.owner.ticksToPixels( self.noteDB.getPage( self.note.page).beats, self.end ) - self.x - self.origin[0]
+ self.width = self.owner.ticksToPixels( self.noteDB.getPage( self.note.page).beats, self.end ) - self.x + self.origin[0]
self.imgWidth = self.width + Config.NOTE_IMAGE_PADDING_MUL2
self.oldEnd = self.end
if self.note.cs.pitch != self.oldPitch: