diff options
author | Justin R. Miller <incanus@codesorcery.net> | 2015-11-18 18:00:12 -0800 |
---|---|---|
committer | Justin R. Miller <incanus@codesorcery.net> | 2015-11-18 18:27:46 -0800 |
commit | a0533d824438392cab504616be3d4afba674ca17 (patch) | |
tree | 25617b5227c0aa2a36d8b0f8af3ee2e4ba1ccbbf /platform | |
parent | 46a6b03582e465ef90e72f61eee5c97580ea1042 (diff) | |
download | qtlocation-mapboxgl-a0533d824438392cab504616be3d4afba674ca17.tar.gz |
refs #2922: update display link in all common modes (inc. scrolling)
Diffstat (limited to 'platform')
-rw-r--r-- | platform/ios/MGLMapView.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/MGLMapView.mm b/platform/ios/MGLMapView.mm index 3c4116c8d9..ce7cefa401 100644 --- a/platform/ios/MGLMapView.mm +++ b/platform/ios/MGLMapView.mm @@ -233,7 +233,7 @@ std::chrono::steady_clock::duration durationInSeconds(float duration) // setup refresh driver _displayLink = [CADisplayLink displayLinkWithTarget:self selector:@selector(updateFromDisplayLink)]; _displayLink.frameInterval = MGLTargetFrameInterval; - [_displayLink addToRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode]; + [_displayLink addToRunLoop:[NSRunLoop currentRunLoop] forMode:NSRunLoopCommonModes]; _needsDisplayRefresh = YES; // start paused if in IB |