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

Commit

Permalink
Merge pull request #266 from OpenbookOrg/bug/zoomable-photo-sentry-error
Browse files Browse the repository at this point in the history
Bug/zoomable photo sentry error
  • Loading branch information
uiboy authored Apr 23, 2019
2 parents 11c5346 + e2e7521 commit 3e6fe52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/pages/home/modals/zoomable_photo.dart
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ class OBZoomablePhotoModalState extends State<OBZoomablePhotoModal>
}

void _updateRotationValues() {
if (startDragDetails == null) return;
double screenWidth = MediaQuery.of(context).size.width;
double screenHeight = MediaQuery.of(context).size.height;
double screenMid = screenWidth / 2;
Expand Down

0 comments on commit 3e6fe52

Please sign in to comment.