feat: remove step limit in stroke drawing

This commit is contained in:
dscyrescotti
2024-06-26 10:18:47 +07:00
parent d1f4d19419
commit d5c1cd6653

View File

@@ -251,9 +251,6 @@ extension GraphicContext {
func appendStroke(with point: CGPoint) {
guard let currentStroke = currentElement?.stroke() else { return }
guard let currentPoint, point.distance(to: currentPoint) > currentStroke.thickness * currentStroke.penStyle.stepRate else {
return
}
currentStroke.append(to: point)
self.currentPoint = point
}