Skip to content

Commit

Permalink
Fix(#441) add allowed pointer (#445)
Browse files Browse the repository at this point in the history
* Fix(#441) add allowed pointer

* shame on me
  • Loading branch information
renancaraujo authored Jul 19, 2021
1 parent 92605e3 commit e9ad53d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ packages:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.5.0"
version: "2.7.0"
boolean_selector:
dependency: transitive
description:
Expand All @@ -28,7 +28,7 @@ packages:
name: charcode
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
version: "1.3.1"
clock:
dependency: transitive
description:
Expand Down Expand Up @@ -80,7 +80,7 @@ packages:
name: meta
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.0"
version: "1.7.0"
path:
dependency: transitive
description:
Expand Down Expand Up @@ -127,7 +127,7 @@ packages:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.0"
version: "1.8.1"
stack_trace:
dependency: transitive
description:
Expand Down Expand Up @@ -162,7 +162,7 @@ packages:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.19"
version: "0.4.2"
typed_data:
dependency: transitive
description:
Expand Down
4 changes: 2 additions & 2 deletions lib/src/core/photo_view_core.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class PhotoViewCore extends StatefulWidget {
required this.filterQuality,
required this.disableGestures,
required this.enablePanAlways,
}) : customChild = null,
}) : customChild = null,
super(key: key);

const PhotoViewCore.customChild({
Expand All @@ -64,7 +64,7 @@ class PhotoViewCore extends StatefulWidget {
required this.filterQuality,
required this.disableGestures,
required this.enablePanAlways,
}) : imageProvider = null,
}) : imageProvider = null,
gaplessPlayback = false,
super(key: key);

Expand Down
2 changes: 1 addition & 1 deletion lib/src/core/photo_view_gesture_detector.dart
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class PhotoViewGestureRecognizer extends ScaleGestureRecognizer {
bool ready = true;

@override
void addAllowedPointer(PointerEvent event) {
void addAllowedPointer(event) {
if (ready) {
ready = false;
_pointerLocations = <int, Offset>{};
Expand Down

0 comments on commit e9ad53d

Please sign in to comment.