fix: launcher incorrect max height
This commit is contained in:
parent
b620f4c772
commit
7403004c73
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ Item {
|
||||||
readonly property bool shouldBeActive: visibilities.launcher && Config.launcher.enabled
|
readonly property bool shouldBeActive: visibilities.launcher && Config.launcher.enabled
|
||||||
|
|
||||||
readonly property real maxHeight: {
|
readonly property real maxHeight: {
|
||||||
let max = screen.height - Config.border.thickness * 2 + Tokens.padding.large;
|
let max = screen.height - Config.border.thickness * 2 + Tokens.padding.extraLarge;
|
||||||
if (visibilities.dashboard)
|
if (visibilities.dashboard)
|
||||||
max -= panels.dashboard.nonAnimHeight;
|
max -= panels.dashboard.nonAnimHeight;
|
||||||
return max;
|
return max;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue