diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2013-01-15 13:09:27 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2013-01-18 19:59:59 (GMT) |
commit | 814bfea231075043a97b778e09b2ffb510b4f768 (patch) | |
tree | e9ef0faac662425c9937920266233c189df603b3 /Edit/NoteInterface.py | |
parent | e256881651711fb39323bdf8cde091ed926187fa (diff) |
Now editing notes works properly
Signed-off-by: Aaron Gordon <aaronsgordon@yahoo.com>
Diffstat (limited to 'Edit/NoteInterface.py')
-rw-r--r-- | Edit/NoteInterface.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Edit/NoteInterface.py b/Edit/NoteInterface.py index 7ba04b8..c1f4e90 100644 --- a/Edit/NoteInterface.py +++ b/Edit/NoteInterface.py @@ -333,8 +333,8 @@ class NoteInterface: # Draw def draw(self, surface, startX, stopX): - if stopX < self.imgX: return False # we don't need to draw and no one after us will draw - if startX > self.imgX + self.imgWidth: return True # we don't need to draw, but maybe a later note does + #if stopX < self.imgX: return False # we don't need to draw and no one after us will draw + #if startX > self.imgX + self.imgWidth: return True # we don't need to draw, but maybe a later note does cxt = cairo.Context(surface) cxt.set_source_rgb(*gdk_color_to_cairo(self.color)) cxt.rectangle(self.x+1, self.y, self.width-2, self.height-2 ) |