mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Tooltip: removed auto-positionning relative to the bar. as many tooltips are used in panels
- still a few edge cases to work on
This commit is contained in:
@@ -19,6 +19,9 @@ NIconButton {
|
||||
tooltipText: I18n.tr("tooltips.power-profile", {
|
||||
"profile": PowerProfileService.getName()
|
||||
})
|
||||
tooltipPositionAbove: Settings.data.bar.position === "bottom"
|
||||
tooltipPositionLeft: Settings.data.bar.position === "right"
|
||||
tooltipPositionRight: Settings.data.bar.position === "left"
|
||||
compact: (Settings.data.bar.density === "compact")
|
||||
colorBg: (PowerProfileService.profile === PowerProfile.Balanced) ? (Settings.data.bar.showCapsule ? Color.mSurfaceVariant : Color.transparent) : Color.mPrimary
|
||||
colorFg: (PowerProfileService.profile === PowerProfile.Balanced) ? Color.mOnSurface : Color.mOnPrimary
|
||||
|
||||
Reference in New Issue
Block a user