From 6db040dcbfebba2febfe41f78c4aec94e028aa3c Mon Sep 17 00:00:00 2001 From: Gunnar Sletta Date: Tue, 10 Dec 2013 12:25:21 +0100 Subject: Size changes do not warrant a transform update. The size is not a part of the matrix, so the matrix does not need to be recomputed when the size of an element changes. The exception from this is when using transform origin which is already specialcased in the QQuickWindow::updateDirtyNode() function. Change-Id: I2c517880d39aa69232974f65da93333b7cba341d Reviewed-by: Alan Alpert --- src/quick/items/qquickitem_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/quick') diff --git a/src/quick/items/qquickitem_p.h b/src/quick/items/qquickitem_p.h index 7faf39f8e5..44eabcf0d5 100644 --- a/src/quick/items/qquickitem_p.h +++ b/src/quick/items/qquickitem_p.h @@ -449,7 +449,7 @@ public: // dirtyToString() TransformUpdateMask = TransformOrigin | Transform | BasicTransform | Position | - Size | Window, + Window, ComplexTransformUpdateMask = Transform | Window, ContentUpdateMask = Size | Content | Smooth | Window | Antialiasing, ChildrenUpdateMask = ChildrenChanged | ChildrenStackingChanged | EffectReference | Window -- cgit v1.2.3