diff options
| author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2025-01-16 14:00:16 +0100 |
|---|---|---|
| committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2025-01-18 21:36:13 +0100 |
| commit | daf3b4a768facc78f791c905d553bc90ee7a91f5 (patch) | |
| tree | cd49df58254a2964ccff75653cf0951adfecb4f3 /src/quick/doc/snippets/qml | |
| parent | 9ac6494f1d4f0c2db93202051835c0698bcea3d0 (diff) | |
Ensure safe areas are always updated in paint order
We can't rely on the transform and geometry change listener callbacks
to come in in paint order, but we want the safe areas to update in
paint order, as the margins of a parent safe area may affect children.
To work around the order of the transform and geometry callbacks we
find the safe area closest to the item that was transformed, and let
that safe area do a recursive update.
Pick-to: 6.9
Change-Id: I1221166ba6ccafb5fed78370606e4ccd1c26cbd9
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/quick/doc/snippets/qml')
0 files changed, 0 insertions, 0 deletions
