Skip to content
Snippets Groups Projects
Commit b286d21e authored by George Nachman's avatar George Nachman
Browse files

Fix a bug where timer mode would not drop frame rate

parent 789d7c5d
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -132,7 +132,7 @@ static const NSTimeInterval kBackgroundUpdateCadence = 1;
repeats:YES];
[[NSRunLoop currentRunLoop] addTimer:_updateTimer forMode:NSRunLoopCommonModes];
} else {
if (_updateTimer && cadence > _updateTimer.timeInterval) {
if (!force && _updateTimer && cadence > _updateTimer.timeInterval) {
DLog(@"Defer cadence change");
_deferredCadenceChange = YES;
} else {
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment