summaryrefslogtreecommitdiff
path: root/embroider_simulate.py
diff options
context:
space:
mode:
Diffstat (limited to 'embroider_simulate.py')
-rw-r--r--embroider_simulate.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/embroider_simulate.py b/embroider_simulate.py
index d80dbe6e..6db203ad 100644
--- a/embroider_simulate.py
+++ b/embroider_simulate.py
@@ -179,6 +179,8 @@ class EmbroiderySimulator(wx.Frame):
def clear(self):
self.dc.SetBackground(wx.Brush('white'))
self.dc.Clear()
+ self.last_pos = None
+ self.Refresh()
def on_size(self, e):
# ensure that the whole canvas is visible