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-01-16 08:32:18 (GMT)
committer amartin <olpc@localhost.localdomain>2007-01-16 08:32:18 (GMT)
commit1c5de0188ba5bf675d872ea6e73f29ef38b63bf5 (patch)
tree5c80c7666daa367f85db9b44ce0e01e68b608ddc /Edit/NoteInterface.py
parent20c60d6a435599dad56e97b0ce9d7efc6f02c4d4 (diff)
TrackInterface screen buffers
Diffstat (limited to 'Edit/NoteInterface.py')
-rw-r--r--Edit/NoteInterface.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Edit/NoteInterface.py b/Edit/NoteInterface.py
index c49a8d8..b1d2f1c 100644
--- a/Edit/NoteInterface.py
+++ b/Edit/NoteInterface.py
@@ -85,7 +85,7 @@ class NoteInterface:
y = min( self.imgY, oldY )
endx = max( self.imgX + self.imgWidth, oldEndX )
endy = max( self.imgY, oldY ) + self.imgHeight
- self.parent.invalidate_rect( x, y, endx-x, endy-y )
+ self.parent.invalidate_rect( x, y, endx-x, endy-y, self.page )
def updateDragLimits( self, dragLimits, leftBound, rightBound, widthBound ):
left = leftBound - self.onset
@@ -251,7 +251,7 @@ class NoteInterface:
if self.selected != state:
self.selected = state
if self.page == self.parent.curPage:
- self.parent.invalidate_rect( self.imgX, self.imgY, self.imgWidth, self.imgHeight )
+ self.parent.invalidate_rect( self.imgX, self.imgY, self.imgWidth, self.imgHeight, self.page )
return True # state changed
return False # state is the same