Skip to content

Commit

Permalink
fix: stop pencil fading out at start and end
Browse files Browse the repository at this point in the history
  • Loading branch information
adil192 committed Feb 14, 2024
1 parent 55f296e commit f86f6a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/data/tools/pen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class Pen extends Tool {
);
static StrokeOptions get pencilOptions => defaultOptions.copyWith(
streamline: 0.1,
start: StrokeEndOptions.start(taperEnabled: true),
end: StrokeEndOptions.end(taperEnabled: true),
start: StrokeEndOptions.start(taperEnabled: true, customTaper: 1),
end: StrokeEndOptions.end(taperEnabled: true, customTaper: 1),
);
}

0 comments on commit f86f6a5

Please sign in to comment.