Bar widgets: fixed bg colors when used with showCapsule=false
This commit is contained in:
parent
cdca7c1d83
commit
3a6bf8d299
10 changed files with 12 additions and 10 deletions
|
|
@ -47,7 +47,7 @@ NIconButton {
|
|||
icon: root.profileIcon()
|
||||
tooltipText: root.profileName()
|
||||
compact: (Settings.data.bar.density === "compact")
|
||||
colorBg: (PowerProfileService.profile === PowerProfile.Balanced) ? Color.mSurfaceVariant : Color.mPrimary
|
||||
colorBg: (PowerProfileService.profile === PowerProfile.Balanced) ? (Settings.data.bar.showCapsule ? Color.mSurfaceVariant : Color.transparent) : Color.mPrimary
|
||||
colorFg: (PowerProfileService.profile === PowerProfile.Balanced) ? Color.mOnSurface : Color.mOnPrimary
|
||||
colorBorder: Color.transparent
|
||||
colorBorderHover: Color.transparent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue