mirror of
https://github.com/dscyrescotti/Memola.git
synced 2026-03-22 01:19:26 +01:00
feat: remove step limit in stroke drawing
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user