diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2025-02-11 18:52:01 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-11 18:52:01 +0100 |
| commit | cee9aa0d1d6f0173643e6480b4e11fc1f27f0ffb (patch) | |
| tree | 249897ecbc6942e404088a22fd7e7dd822896b60 /lib/gui/simulator/drawing_panel.py | |
| parent | b7f5e94fd2c39bf386fe116ac172402ca99dce5e (diff) | |
lettering tools: remember last font (#3498)
Diffstat (limited to 'lib/gui/simulator/drawing_panel.py')
| -rw-r--r-- | lib/gui/simulator/drawing_panel.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gui/simulator/drawing_panel.py b/lib/gui/simulator/drawing_panel.py index 1587ecfa..4a07bfd7 100644 --- a/lib/gui/simulator/drawing_panel.py +++ b/lib/gui/simulator/drawing_panel.py @@ -186,13 +186,13 @@ class DrawingPanel(wx.Panel): if len(stitches) > 1: self.draw_stitch_lines(canvas, pen, stitches, jumps) self.draw_needle_penetration_points(canvas, pen, stitches) - last_stitch = stitches[-1] + last_stitch = stitches[-1] else: stitches = stitches[:int(self.current_stitch) - stitch] if len(stitches) > 1: self.draw_stitch_lines(canvas, pen, stitches, jumps) self.draw_needle_penetration_points(canvas, pen, stitches) - last_stitch = stitches[-1] + last_stitch = stitches[-1] break if last_stitch: |
