diff options
Diffstat (limited to 'tutorius')
-rw-r--r-- | tutorius/actions.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tutorius/actions.py b/tutorius/actions.py index bb15459..641da31 100644 --- a/tutorius/actions.py +++ b/tutorius/actions.py @@ -135,8 +135,6 @@ class Action(TPropContainer): """Base class for Actions""" def __init__(self): TPropContainer.__init__(self) - self.position = (0,0) - self._drag = None def do(self, **kwargs): """ @@ -165,7 +163,7 @@ class Action(TPropContainer): self.__edit_img.set_visible_window(True) self.__edit_img.add(actionicon) - x, y = self.position + x, y = getattr(self, 'position', (0,0)) ObjectStore().activity._overlayer.put(self.__edit_img, x, y) self.__edit_img.show_all() |