internal: fix busyindicator & switch

Fix not rendering the internal shapes sometimes
This commit is contained in:
2 * r + 2 * t 2025-07-27 15:03:48 +10:00
parent 3beaac99f3
commit 71ce357d63
2 changed files with 2 additions and 0 deletions

View file

@ -18,6 +18,7 @@ BusyIndicator {
id: shape id: shape
preferredRendererType: Shape.CurveRenderer preferredRendererType: Shape.CurveRenderer
asynchronous: true
RotationAnimator on rotation { RotationAnimator on rotation {
from: 0 from: 0

View file

@ -82,6 +82,7 @@ Switch {
width: height width: height
height: parent.implicitHeight - Appearance.padding.small * 2 height: parent.implicitHeight - Appearance.padding.small * 2
preferredRendererType: Shape.CurveRenderer preferredRendererType: Shape.CurveRenderer
asynchronous: true
ShapePath { ShapePath {
strokeWidth: Appearance.font.size.larger * 0.15 strokeWidth: Appearance.font.size.larger * 0.15