Skip to content

Commit e9ad53d

Browse files
authored
Fix(#441) add allowed pointer (#445)
* Fix(#441) add allowed pointer * shame on me
1 parent 92605e3 commit e9ad53d

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

example/pubspec.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ packages:
77
name: async
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "2.5.0"
10+
version: "2.7.0"
1111
boolean_selector:
1212
dependency: transitive
1313
description:
@@ -28,7 +28,7 @@ packages:
2828
name: charcode
2929
url: "https://pub.dartlang.org"
3030
source: hosted
31-
version: "1.2.0"
31+
version: "1.3.1"
3232
clock:
3333
dependency: transitive
3434
description:
@@ -80,7 +80,7 @@ packages:
8080
name: meta
8181
url: "https://pub.dartlang.org"
8282
source: hosted
83-
version: "1.3.0"
83+
version: "1.7.0"
8484
path:
8585
dependency: transitive
8686
description:
@@ -127,7 +127,7 @@ packages:
127127
name: source_span
128128
url: "https://pub.dartlang.org"
129129
source: hosted
130-
version: "1.8.0"
130+
version: "1.8.1"
131131
stack_trace:
132132
dependency: transitive
133133
description:
@@ -162,7 +162,7 @@ packages:
162162
name: test_api
163163
url: "https://pub.dartlang.org"
164164
source: hosted
165-
version: "0.2.19"
165+
version: "0.4.2"
166166
typed_data:
167167
dependency: transitive
168168
description:

lib/src/core/photo_view_core.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class PhotoViewCore extends StatefulWidget {
4242
required this.filterQuality,
4343
required this.disableGestures,
4444
required this.enablePanAlways,
45-
}) : customChild = null,
45+
}) : customChild = null,
4646
super(key: key);
4747

4848
const PhotoViewCore.customChild({
@@ -64,7 +64,7 @@ class PhotoViewCore extends StatefulWidget {
6464
required this.filterQuality,
6565
required this.disableGestures,
6666
required this.enablePanAlways,
67-
}) : imageProvider = null,
67+
}) : imageProvider = null,
6868
gaplessPlayback = false,
6969
super(key: key);
7070

lib/src/core/photo_view_gesture_detector.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class PhotoViewGestureRecognizer extends ScaleGestureRecognizer {
9898
bool ready = true;
9999

100100
@override
101-
void addAllowedPointer(PointerEvent event) {
101+
void addAllowedPointer(event) {
102102
if (ready) {
103103
ready = false;
104104
_pointerLocations = <int, Offset>{};

0 commit comments

Comments
 (0)