fix: state layer using wrong corner for ripple

Top right corner was using top left radius
This commit is contained in:
2 * r + 2 * t 2026-04-25 21:18:24 +10:00
parent 86df8ae702
commit 30878e3b51

View file

@ -134,14 +134,14 @@ MouseArea {
startY: 0 startY: 0
PathLine { PathLine {
x: root.width - root.clamp(base.topLeftRadius) x: root.width - root.clamp(base.topRightRadius)
y: 0 y: 0
} }
PathArc { PathArc {
relativeX: root.clamp(base.topLeftRadius) relativeX: root.clamp(base.topRightRadius)
relativeY: root.clamp(base.topLeftRadius) relativeY: root.clamp(base.topRightRadius)
radiusX: root.clamp(base.topLeftRadius) radiusX: root.clamp(base.topRightRadius)
radiusY: root.clamp(base.topLeftRadius) radiusY: root.clamp(base.topRightRadius)
} }
PathLine { PathLine {
x: root.width x: root.width