mirror of
https://github.com/dscyrescotti/Memola.git
synced 2026-11-19 15:18:31 +01:00
feat: update stroke generator factor
This commit is contained in:
1 parent
1d91da8445
commit
335d7e52e9
1 file changed
+1
-1
@@ -116,7 +116,7 @@ struct SolidPointStrokeGenerator: StrokeGenerator {
|
||||
let factor: CGFloat
|
||||
switch configuration.granularity {
|
||||
case .automatic:
|
||||
factor = min(3.5, 1 / (stroke.thickness * 1 / 10))
|
||||
factor = min(5, 1 / (stroke.thickness * 10 / 500))
|
||||
case .fixed:
|
||||
factor = 1 / (stroke.thickness * stroke.penStyle.anyPenStyle.stepRate)
|
||||
case .none:
|
||||
|
||||
Reference in new issue
Block a user