Permalink
Browse files

interactivedraw: fix easygui layout

  • Loading branch information...
1 parent 798c187 commit 9a4b58505cb7d19eea78e8fa8d1b1ba248bedeb2 @tito committed Aug 9, 2010
Showing with 1 addition and 3 deletions.
  1. +0 −3 interactivedraw/easygui.py
  2. +1 −0 interactivedraw/interactivedraw.py
@@ -189,9 +189,6 @@ def _add_control(self, title, key, default, control, _get, _set):
_set(default)
self._change(key, default)
- def do_layout(self):
- super(EasyGui, self).do_layout()
-
if __name__ == '__main__':
gui = EasyGui(size_hint=(None, None), size=(400, 200))
gui.panel('Control 1')
@@ -195,6 +195,7 @@ def on_touch_move(self, touch):
self.dirty = True
def on_update(self):
+ super(Canvas, self).on_update()
if self.mode == 'record' and \
len(self.sketch) > 0 and \
len(getCurrentTouches()) == 0 and \

0 comments on commit 9a4b585

Please sign in to comment.