diff --git a/components/StateLayer.qml b/components/StateLayer.qml index fe7a2b95..d30ab731 100644 --- a/components/StateLayer.qml +++ b/components/StateLayer.qml @@ -101,8 +101,14 @@ MouseArea { anchors.fill: parent opacity: root.stateOpacity color: Colours.palette.m3onSurface - // Pick up radius from parent if it has one (parent can be anything with a radius property) - radius: root.parent?.radius ?? 0 // qmllint disable missing-property + // Pick up radius from parent if it has one (parent can be anything with radius props) + // qmllint disable missing-property + radius: root.parent?.radius ?? 0 + topLeftRadius: root.parent?.topLeftRadius ?? radius ?? 0 + topRightRadius: root.parent?.topRightRadius ?? radius ?? 0 + bottomLeftRadius: root.parent?.bottomLeftRadius ?? radius ?? 0 + bottomRightRadius: root.parent?.bottomRightRadius ?? radius ?? 0 + // qmllint enable missing-property } Shape {