Skip to content

Commit 9ef81be

Browse files
committed
fix: radious gap between primary and secondary border
1 parent b4ab72d commit 9ef81be

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

package/contents/ui/main.qml

+4-4
Original file line numberDiff line numberDiff line change
@@ -843,10 +843,10 @@ PlasmoidItem {
843843
horizontal: main.horizontal
844844
unifyBgType: unifyBgType
845845
corners: {
846-
"topLeftRadius": rect.topLeftRadius,
847-
"topRightRadius": rect.topRightRadius,
848-
"bottomLeftRadius": rect.bottomLeftRadius,
849-
"bottomRightRadius": rect.bottomRightRadius
846+
"topLeftRadius": Math.max(rect.topLeftRadius - cfg.border.width, 0),
847+
"topRightRadius": Math.max(rect.topRightRadius - cfg.border.width, 0),
848+
"bottomLeftRadius": Math.max(rect.bottomLeftRadius - cfg.border.width, 0),
849+
"bottomRightRadius": Math.max(rect.bottomRightRadius - cfg.border.width, 0)
850850
}
851851
cfgBorder: cfg.borderSecondary
852852
borderColor: {

0 commit comments

Comments
 (0)