fix: launcher dash exclusion
This commit is contained in:
parent
1b5e931ec8
commit
7c78781727
3 changed files with 4 additions and 10 deletions
|
|
@ -27,7 +27,7 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
readonly property real nonAnimHeight: state === "visible" ? ((content.item as Content)?.nonAnimHeight ?? 0) : 0
|
||||
readonly property real nonAnimHeight: (content.item as Content)?.nonAnimHeight ?? 0
|
||||
readonly property bool shouldBeActive: visibilities.dashboard && Config.dashboard.enabled
|
||||
property real offsetScale: shouldBeActive ? 0 : 1
|
||||
|
||||
|
|
|
|||
|
|
@ -154,18 +154,12 @@ Item {
|
|||
Behavior on implicitWidth {
|
||||
enabled: root.visibilities.launcher
|
||||
|
||||
Anim {
|
||||
duration: Tokens.anim.durations.large
|
||||
easing: Tokens.anim.emphasizedDecel
|
||||
}
|
||||
Anim {}
|
||||
}
|
||||
|
||||
Behavior on implicitHeight {
|
||||
enabled: root.visibilities.launcher
|
||||
|
||||
Anim {
|
||||
duration: Tokens.anim.durations.large
|
||||
easing: Tokens.anim.emphasizedDecel
|
||||
}
|
||||
Anim {}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ Item {
|
|||
readonly property bool shouldBeActive: visibilities.launcher && Config.launcher.enabled
|
||||
|
||||
readonly property real maxHeight: {
|
||||
let max = screen.height - Config.border.thickness * 2 - Tokens.spacing.largeIncreased;
|
||||
let max = screen.height - Config.border.thickness * 2 + Tokens.padding.large;
|
||||
if (visibilities.dashboard)
|
||||
max -= panels.dashboard.nonAnimHeight;
|
||||
return max;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue