[core] Update::Classes already implies repaint

This commit is contained in:
Bruno de Oliveira Abinader
2015-11-09 11:35:40 +02:00
parent 1a68241bb0
commit ff5d405958

View File

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