diff options
Diffstat (limited to 'src/sugar/tutorius/actions.py')
-rw-r--r-- | src/sugar/tutorius/actions.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sugar/tutorius/actions.py b/src/sugar/tutorius/actions.py index 2d630be..ff7f427 100644 --- a/src/sugar/tutorius/actions.py +++ b/src/sugar/tutorius/actions.py @@ -131,13 +131,13 @@ class BubbleMessage(Action): @param tailpos The position of the tail of the bubble; useful to point to specific elements of the interface """ - def __init__(self, message, pos=[0,0], speaker=None, tailpos=None): + def __init__(self, message, pos=None, speaker=None, tailpos=None): Action.__init__(self) self.message = TStringProperty(message) # Create the position as an array of fixed-size 2 - self.position = TArrayProperty(pos, 2, 2) + self.position = TArrayProperty(pos or [0,0], 2, 2) # Do the same for the tail position - self.tail_pos = TArrayProperty(tailpos, 2, 2) + self.tail_pos = TArrayProperty(tailpos or [0,0], 2, 2) self.overlay = None self._bubble = None |