|
|
@@ -195,8 +195,6 @@ void Element::Update(float dp_ratio)
|
|
|
OnResize();
|
|
|
}
|
|
|
|
|
|
- UpdateTransformState();
|
|
|
-
|
|
|
for (size_t i = 0; i < children.size(); i++)
|
|
|
children[i]->Update(dp_ratio);
|
|
|
}
|
|
|
@@ -245,6 +243,8 @@ void Element::Render()
|
|
|
if (stacking_context_dirty)
|
|
|
BuildLocalStackingContext();
|
|
|
|
|
|
+ UpdateTransformState();
|
|
|
+
|
|
|
// Apply our transform
|
|
|
ElementUtilities::ApplyTransform(*this);
|
|
|
|