# HG changeset patch # User Neil Muller # Date 1359298204 -7200 # Node ID 2dd400a7c16d3ff6217d30648449def41764a308 # Parent a0fd258cd5d7442aee2d7e4a43a034947148911f Only clear working around to prevent toolbar flickering diff -r a0fd258cd5d7 -r 2dd400a7c16d pyntnclick/tools/rect_drawer.py --- a/pyntnclick/tools/rect_drawer.py Sun Jan 27 16:49:53 2013 +0200 +++ b/pyntnclick/tools/rect_drawer.py Sun Jan 27 16:50:04 2013 +0200 @@ -299,7 +299,8 @@ def draw(self, surface): self.do_prepare() if self.clear_display: - surface.fill(pygame.color.Color(0, 0, 0)) + surface.fill(pygame.color.Color(0, 0, 0), + pygame.Rect(0, 0, constants.screen[0], constants.screen[1])) self.clear_display = False if self.zoom_display: