diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2023-06-04 13:38:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-04 13:38:21 +0200 |
| commit | f68b099dbf3abf1f7f13e8327f535772622744af (patch) | |
| tree | 5353e40ccaa3ff9704e547bdc9ac90fea82fc9ae /lib/gui/simulator.py | |
| parent | a2c5922327ccba4fb61891432f0f05c775110afb (diff) | |
fix needle points for windows (#2337)
Diffstat (limited to 'lib/gui/simulator.py')
| -rw-r--r-- | lib/gui/simulator.py | 2 |
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) |
