Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit a0533d8

Browse files
committed
refs #2922: update display link in all common modes (inc. scrolling)
1 parent 46a6b03 commit a0533d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/ios/MGLMapView.mm

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ - (void)commonInit
233233
// setup refresh driver
234234
_displayLink = [CADisplayLink displayLinkWithTarget:self selector:@selector(updateFromDisplayLink)];
235235
_displayLink.frameInterval = MGLTargetFrameInterval;
236-
[_displayLink addToRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode];
236+
[_displayLink addToRunLoop:[NSRunLoop currentRunLoop] forMode:NSRunLoopCommonModes];
237237
_needsDisplayRefresh = YES;
238238

239239
// start paused if in IB

0 commit comments

Comments
 (0)