diff options
author | Mikko Hallamaa <mikko.hallamaa@qt.io> | 2024-06-14 10:25:20 +0200 |
---|---|---|
committer | Mikko Hallamaa <mikko.hallamaa@qt.io> | 2024-06-21 11:45:41 +0200 |
commit | 0232ef390ff44dfc2c057da74974eff3a344b92b (patch) | |
tree | 444e7fdf81c6e519208b2f04d986ec757d0c2047 /src/qml/doc/snippets/package/view.qml | |
parent | 0115dc5882dc2822d4e99c012aa973f912902277 (diff) |
When a state with AnchorChanges is reset, there is logic to check if the
state altered the target size in situations where an anchor is not
originally set, but is in the state. This check didn't take into account
the possibility that the opposite edge of the anchor set in state may
have been set to undefined, and the state didn't actually set the Item
size.
This patch adds an additional check for undefined opposite edge in state
to get rid of this false positive.
Fixes: QTBUG-126057
Pick-to: 6.8 6.7 6.5
Change-Id: I998c5da7db7d6fc3e50909ab6a1b4d972425d807
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/doc/snippets/package/view.qml')
0 files changed, 0 insertions, 0 deletions