mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
feat: Optimize capsule color computation by using Style.qml property
This commit is contained in:
@@ -108,7 +108,7 @@ Rectangle {
|
||||
implicitWidth: isVertical ? Style.capsuleHeight : Math.round(mainGrid.implicitWidth + Style.marginM * 2)
|
||||
implicitHeight: isVertical ? Math.round(mainGrid.implicitHeight + Style.marginM * 2) : Style.capsuleHeight
|
||||
radius: Style.radiusM
|
||||
color: Settings.data.bar.showCapsule ? Qt.alpha(Color.mSurfaceVariant, Settings.data.bar.capsuleOpacity) : Color.transparent
|
||||
color: Style.capsuleColor
|
||||
|
||||
// Status indicator component definition
|
||||
Component {
|
||||
|
||||
Reference in New Issue
Block a user