Skip to content

Commit

Permalink
fixes #6
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayb3Nots committed Mar 19, 2023
1 parent 8aff769 commit 1cdb82c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/zoom_pinch_overlay.dart
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class _ZoomOverlayState extends State<ZoomOverlay>

_controllerReset
..addListener(() {
_transformWidget.currentState!.setMatrix(_animationReset.value);
_transformWidget.currentState?.setMatrix(_animationReset.value);
})
..addStatusListener((status) {
if (status == AnimationStatus.completed) hide();
Expand Down

0 comments on commit 1cdb82c

Please sign in to comment.