summaryrefslogtreecommitdiff
path: root/lib/gui/simulator.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gui/simulator.py')
-rw-r--r--lib/gui/simulator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gui/simulator.py b/lib/gui/simulator.py
index d031590b..1cc7066e 100644
--- a/lib/gui/simulator.py
+++ b/lib/gui/simulator.py
@@ -381,13 +381,13 @@ class DrawingPanel(wx.Panel):
if stitch + len(stitches) < self.current_stitch:
stitch += len(stitches)
if len(stitches) > 1:
- canvas.DrawLines(stitches)
+ canvas.StrokeLines(stitches)
self.draw_needle_penetration_points(canvas, pen, stitches)
last_stitch = stitches[-1]
else:
stitches = stitches[:self.current_stitch - stitch]
if len(stitches) > 1:
- canvas.DrawLines(stitches)
+ canvas.StrokeLines(stitches)
self.draw_needle_penetration_points(canvas, pen, stitches)
last_stitch = stitches[-1]
break