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:00:12 -0800 |
commit | 35441a26e9bc6335ae5009455672772572bee004 (patch) | |
tree | 17c2061d440411803f5ddb05823176adb68ce275 /platform | |
parent | 50a33e4e6d5a558f213dcdb61e3f595c5cef4dd3 (diff) | |
download | qtlocation-mapboxgl-35441a26e9bc6335ae5009455672772572bee004.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 4c971c453b..f06e648d23 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 |