Dock: fix floating distance when bar is at the bottom
This commit is contained in:
parent
85cef214c8
commit
132b331c7c
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ Variants {
|
||||||
margins.bottom: {
|
margins.bottom: {
|
||||||
switch (Settings.data.bar.position) {
|
switch (Settings.data.bar.position) {
|
||||||
case "bottom":
|
case "bottom":
|
||||||
return (Style.barHeight + Style.marginM) * scaling + (Settings.data.bar.floating ? Settings.data.bar.marginVertical * Style.marginXL * scaling : 0)
|
return (Style.barHeight + Style.marginM) * scaling + (Settings.data.bar.floating ? Settings.data.bar.marginVertical * Style.marginXL * scaling + floatingMargin : floatingMargin)
|
||||||
default:
|
default:
|
||||||
return floatingMargin
|
return floatingMargin
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue