From 9ba0c8dc8ecb965894cdc9d12dfb9b83e8992fa8 Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard Date: Tue, 15 Jan 2013 13:01:18 +0000 Subject: Ported more TamTamEdit code to Gtk3 Signed-off-by: Aaron Gordon --- (limited to 'Edit/HitInterface.py') diff --git a/Edit/HitInterface.py b/Edit/HitInterface.py index 2c3572d..84e0356 100644 --- a/Edit/HitInterface.py +++ b/Edit/HitInterface.py @@ -182,7 +182,7 @@ class HitInterface( NoteInterface ): #======================================================= # Draw - def draw( self, surface, gc, startX, stopX ): + 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 cxt = cairo.Context(surface) -- cgit v0.9.1