fix needle points for windows (#2337)

pull/2348/head
Kaalleen 2023-06-04 13:38:21 +02:00 zatwierdzone przez GitHub
rodzic a2c5922327
commit f68b099dbf
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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)