remove layering when not floating
This commit is contained in:
parent
c54e82d429
commit
e4878501de
2 changed files with 5 additions and 5 deletions
|
|
@ -10,7 +10,7 @@ Rectangle {
|
|||
property real activeBoost: 0.06
|
||||
property bool active: false
|
||||
readonly property real baseLightness: Math.min(1.0, barColor.hslLightness + lightnessBoost)
|
||||
property color base: Qt.hsla(barColor.hslHue, barColor.hslSaturation, active ? Math.min(1.0, baseLightness + activeBoost) : baseLightness)
|
||||
property color base: Config.cfg.bar.floating ? Qt.hsla(barColor.hslHue, barColor.hslSaturation, active ? Math.min(1.0, baseLightness + activeBoost) : baseLightness) : barColor
|
||||
color: base
|
||||
implicitHeight: Config.cfg.bar.height - 8
|
||||
radius: Config.cfg.appearance.rounding - 4
|
||||
|
|
|
|||
Loading…
Reference in a new issue