diff options
author | Fabian Guerra <fabian.guerra@mapbox.com> | 2019-09-30 15:31:55 -0700 |
---|---|---|
committer | Fabian Guerra <fabian.guerra@mapbox.com> | 2019-10-03 10:27:10 -0700 |
commit | e8c19eead79f7090591d26a848184d9a6205fa9b (patch) | |
tree | 77dc56e0777874190b4cfe59f664c79d82d31ff2 | |
parent | 97b02c9759fd829f12a04369e8554862f065e47b (diff) | |
download | qtlocation-mapboxgl-e8c19eead79f7090591d26a848184d9a6205fa9b.tar.gz |
[ios] Fix pinch test.
-rw-r--r-- | platform/ios/test/MGLMapViewPitchTests.m | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/ios/test/MGLMapViewPitchTests.m b/platform/ios/test/MGLMapViewPitchTests.m index 3e9311dbd4..fa657eb994 100644 --- a/platform/ios/test/MGLMapViewPitchTests.m +++ b/platform/ios/test/MGLMapViewPitchTests.m @@ -2,6 +2,7 @@ #import <XCTest/XCTest.h> @interface MockUIPanGestureRecognizer : UIPanGestureRecognizer +@property(nonatomic, readwrite) UIGestureRecognizerState state; @property NSUInteger mbx_numberOfFingersForGesture; @property CGPoint mbx_middlePoint; @property CGPoint mbx_westPoint; @@ -9,6 +10,9 @@ @end @implementation MockUIPanGestureRecognizer + +@synthesize state; + - (instancetype)initWithTarget:(id)target action:(SEL)action { if (self = [super initWithTarget:target action:action]) { self.mbx_numberOfFingersForGesture = 2; |