[core] Fix style cascade loop when transitioning

This commit is contained in:
Bruno de Oliveira Abinader
2016-03-03 15:45:51 +02:00
parent bc63d75227
commit 877adedb0f
2 changed files with 2 additions and 1 deletions

View File

@@ -247,7 +247,7 @@ bool MapContext::renderSync(const TransformState& state, const FrameData& frame)
view.afterRender();
if (style->hasTransitions()) {
updateFlags |= Update::Classes;
updateFlags |= Update::Zoom;
asyncUpdate.send();
} else if (painter->needsAnimation()) {
updateFlags |= Update::Repaint;