Mercurial > boomslang
changeset 685:32e554adf538 pyntnclick
Fix signatures
author | Neil Muller <neil@dip.sun.ac.za> |
---|---|
date | Mon, 13 Feb 2012 11:27:16 +0200 |
parents | 1ddafd55458a |
children | 48f68ae7d454 |
files | pyntnclick/tools/rect_drawer.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/pyntnclick/tools/rect_drawer.py Mon Feb 13 00:14:39 2012 +0200 +++ b/pyntnclick/tools/rect_drawer.py Mon Feb 13 11:27:16 2012 +0200 @@ -256,7 +256,7 @@ def do_unzoomed_draw(self, surface): if self.state.current_detail: if self.draw_things: - self.state.current_detail.draw(surface, None) + self.state.current_detail.draw(surface) else: self.state.current_detail.draw_background(surface) # We duplicate Albow's draw logic here, so we zoom the close @@ -271,7 +271,7 @@ print 'Error, failed to draw close button', e else: if self.draw_things: - self.state.current_scene.draw(surface, None) + self.state.current_scene.draw(surface) else: self.state.current_scene.draw_background(surface) if self.mode == 'draw' and self.start_pos and self.draw_rects: