Skip to content

Commit

Permalink
Activate undo on main image shape
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbueno committed Sep 23, 2021
1 parent d85e646 commit 5fc65e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions terminedia_paint/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ class Painter():

def __init__(self):
self.sc = TM.Screen()
self.sc.shape.undo_active = True
self.pointer = TM.Sprite(TM.shape((1,1)))
# self.pointer.transformers.append(PaintCursorTransformer)
self.sc.shape.sprites.add(self.pointer)
Expand Down

0 comments on commit 5fc65e9

Please sign in to comment.