Bar widgets: fixed bg colors when used with showCapsule=false

This commit is contained in:
LemmyCook 2025-09-16 22:20:42 -04:00
parent cdca7c1d83
commit 3a6bf8d299
10 changed files with 12 additions and 10 deletions

View file

@ -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