RoundCorner: rewrite to use Shape instead of Canvas

This commit is contained in:
end-4
2025-08-03 20:40:52 +07:00
parent 0708070764
commit f8d162d995
3 changed files with 48 additions and 45 deletions
+2 -2
View File
@@ -111,7 +111,7 @@ Scope {
left: parent.left
}
size: Appearance.rounding.screenRounding
implicitSize: Appearance.rounding.screenRounding
color: showBarBackground ? Appearance.colors.colLayer0 : "transparent"
corner: RoundCorner.CornerEnum.TopLeft
@@ -130,7 +130,7 @@ Scope {
top: !Config.options.bar.bottom ? parent.top : undefined
bottom: Config.options.bar.bottom ? parent.bottom : undefined
}
size: Appearance.rounding.screenRounding
implicitSize: Appearance.rounding.screenRounding
color: showBarBackground ? Appearance.colors.colLayer0 : "transparent"
corner: RoundCorner.CornerEnum.TopRight