Dont scale NIconButton in the bar

This commit is contained in:
ItsLemmy
2025-10-12 16:54:36 -04:00
parent c456cb1ee6
commit 5a47f88d48
17 changed files with 22 additions and 7 deletions
+2 -2
View File
@@ -12,14 +12,14 @@ NIconButton {
property ShellScreen screen
baseSize: Style.capsuleHeight
applyUiScale: false
compact: (Settings.data.bar.density === "compact") || (Settings.data.bar.density === "mini")
visible: PowerProfileService.available
icon: PowerProfileService.getIcon()
tooltipText: I18n.tr("tooltips.power-profile", {
"profile": PowerProfileService.getName()
})
tooltipDirection: BarService.getTooltipDirection()
compact: (Settings.data.bar.density === "compact") || (Settings.data.bar.density === "mini")
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