summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2023-06-04 13:38:21 +0200
committerGitHub <noreply@github.com>2023-06-04 13:38:21 +0200
commitf68b099dbf3abf1f7f13e8327f535772622744af (patch)
tree5353e40ccaa3ff9704e547bdc9ac90fea82fc9ae /lib
parenta2c5922327ccba4fb61891432f0f05c775110afb (diff)
fix needle points for windows (#2337)
Diffstat (limited to 'lib')
-rw-r--r--lib/gui/simulator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gui/simulator.py b/lib/gui/simulator.py
index 92952ca2..78138fc8 100644
--- a/lib/gui/simulator.py
+++ b/lib/gui/simulator.py
@@ -450,7 +450,7 @@ class DrawingPanel(wx.Panel):
if self.control_panel.nppBtn.GetValue():
npp_pen = wx.Pen(pen.GetColour(), width=int(0.5 * PIXELS_PER_MM * self.PIXEL_DENSITY))
canvas.SetPen(npp_pen)
- canvas.StrokeLineSegments(stitches, stitches)
+ canvas.StrokeLineSegments(stitches, [(stitch[0] + 0.001, stitch[1]) for stitch in stitches])
def clear(self):
dc = wx.ClientDC(self)