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