diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2023-01-11 12:28:02 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-01-24 14:13:30 +0000 |
commit | f6576ccb2c5235ae8d4482d582764516be1e3cf4 (patch) | |
tree | 78421b0ce2c9d60c82869b59ff9da579970a352b /src/qml | |
parent | ca25ebabe80967c6711f7f506b984b3eb945ebe8 (diff) |
Fix Shape stroke color when changing alpha from 0 to non-0
The handling of the stroke color lacks the extra checks that are
performed when setting the fill color. Switching from "transparent"
to another color involves setting not just the color-dirty flag but
also the geometry-dirty since alpha == 0 may skip operations such as
triangulating, meaning the work has to be performed later when once
again switching to an alpha > 0 color.
Change-Id: Ibd6d762cfcb07ca8b9c852553c979bcb4ee9fa21
Fixes: QTBUG-109882
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
(cherry picked from commit 650e7d47f8e333761df86e60c290e885106b26c6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/qml')
0 files changed, 0 insertions, 0 deletions