Check for pending animations or transitions when scheduling another render pass

In continuous mode, we need to check if there are any pending animations or
transitions so we can properly tell the client application that another render
pass is required.
This commit is contained in:
Bruno de Oliveira Abinader
2015-07-14 17:27:55 +03:00
parent 234a653931
commit 0753aad57b

View File

@@ -343,7 +343,7 @@ MapContext::RenderResult MapContext::renderSync(const TransformState& state, con
return RenderResult {
style->isLoaded(),
style->hasTransitions()
style->hasTransitions() || painter->needsAnimation()
};
}