Borders: optim/simplification of scaled borders

This commit is contained in:
ItsLemmy
2025-10-21 13:52:19 -04:00
parent 65db92e4fc
commit c9bbaf4c91
45 changed files with 74 additions and 74 deletions
@@ -44,7 +44,7 @@ Popup {
color: Color.mSurface
radius: Style.radiusL
border.color: Color.mPrimary
border.width: Math.max(1, Style.borderM)
border.width: Style.borderM
}
contentItem: ColumnLayout {
@@ -181,7 +181,7 @@ ColumnLayout {
color: Color.mSurfaceVariant
radius: Style.radiusM
border.color: Color.mSecondary
border.width: Math.max(1, Style.borderS)
border.width: Style.borderS
Behavior on border.color {
ColorAnimation {
@@ -100,7 +100,7 @@ ColumnLayout {
anchors.margins: Style.marginXS
color: Color.transparent // Make background transparent
border.color: Color.mOutline
border.width: Math.max(1, Style.borderS)
border.width: Style.borderS
radius: Style.radiusS
visible: model.rule !== undefined && model.rule !== "" // Only visible if rule exists
}