feat: update stroke generation factor

This commit is contained in:
dscyrescotti committed 2024-06-25 11:38:06 +07:00
1 parent ad802b3f85
commit 862796d3ce
1 file changed
+1 -1
@@ -83,7 +83,7 @@ struct SolidPointStrokeGenerator: StrokeGenerator {
let factor: CGFloat
switch configuration.granularity {
case .automatic:
factor = min(5, 1 / (stroke.thickness * 1 / 50))
factor = min(10, 1 / (stroke.thickness * 1 / 50))
case .fixed:
factor = 1 / (stroke.thickness * stroke.penStyle.stepRate)
case .none: