Skip to content
This repository has been archived by the owner on Apr 22, 2022. It is now read-only.

Commit

Permalink
animate deleting all strokes
Browse files Browse the repository at this point in the history
  • Loading branch information
CaptainDario committed May 21, 2021
1 parent 190dc00 commit eddb635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/view/drawing/PredictionButton.dart
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class _PredictionButtonState extends State<PredictionButton>
onDoubleTap: () {
controller.forward(from: 0.0);
if(GetIt.I<Settings>().emptyCanvasAfterDoubleTap)
GetIt.I<Strokes>().deleteAllStrokes();
GetIt.I<Strokes>().playDeleteAllStrokesAnimation = true;
GetIt.I<KanjiBuffer>().addToKanjiBuffer(widget.char);
},

Expand Down

0 comments on commit eddb635

Please sign in to comment.