[core] Update::Classes already implies repaint
This commit is contained in:
@@ -265,9 +265,7 @@ bool MapContext::renderSync(const TransformState& state, const FrameData& frame)
|
|||||||
if (style->hasTransitions()) {
|
if (style->hasTransitions()) {
|
||||||
updateFlags |= Update::Classes;
|
updateFlags |= Update::Classes;
|
||||||
asyncUpdate->send();
|
asyncUpdate->send();
|
||||||
}
|
} else if (painter->needsAnimation()) {
|
||||||
|
|
||||||
if (painter->needsAnimation()) {
|
|
||||||
updateFlags |= Update::Repaint;
|
updateFlags |= Update::Repaint;
|
||||||
asyncUpdate->send();
|
asyncUpdate->send();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user