dock: visible on empty desktop / hidden for focused apps; lift dock above pill strip
This commit is contained in:
parent
ccb51820e5
commit
0e1f233857
1 changed files with 5 additions and 5 deletions
|
|
@ -156,10 +156,6 @@ Scope { // Scope
|
|||
bottom: true
|
||||
left: true
|
||||
right: true
|
||||
// Reserve the pill's strip at the very bottom (pill is 26px +
|
||||
// a hair of breathing room). The dock floats just above it so
|
||||
// they never overlap and the pill stays touchable at all times.
|
||||
margins.bottom: 32
|
||||
}
|
||||
|
||||
exclusiveZone: root.dockState === Dock.DockState.Pinned ? implicitHeight - (Appearance.sizes.hyprlandGapsOut) - (Appearance.sizes.elevationMargin - Appearance.sizes.hyprlandGapsOut) : 0
|
||||
|
|
@ -202,12 +198,16 @@ Scope { // Scope
|
|||
id: dockBackground
|
||||
anchors {
|
||||
top: parent.top
|
||||
// Reserve the pill strip: bottom-anchor short of
|
||||
// the window's bottom by thePillZone so the dock
|
||||
// floats above the pill and never covers it.
|
||||
bottom: parent.bottom
|
||||
bottomMargin: 32
|
||||
horizontalCenter: parent.horizontalCenter
|
||||
}
|
||||
|
||||
implicitWidth: dockRow.implicitWidth + 5 * 2
|
||||
height: parent.height - Appearance.sizes.elevationMargin - Appearance.sizes.hyprlandGapsOut
|
||||
height: parent.height - Appearance.sizes.elevationMargin - Appearance.sizes.hyprlandGapsOut - 32
|
||||
|
||||
StyledRectangularShadow {
|
||||
target: dockVisualBackground
|
||||
|
|
|
|||
Loading…
Reference in a new issue