This commit is contained in:
2021-09-01 18:23:35 +02:00
parent 7947888be0
commit b3c93e804a
4 changed files with 36 additions and 3 deletions

View File

@@ -11,4 +11,4 @@ class Line:
def blit(self):
pygame.draw.line(self.scene.s, self.color, self.scene.matrix @ self.a, self.scene.matrix @ self.b,
int(self.width * self.scene.pd))
max(1, int(self.width * self.scene.pd)))