mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-05 11:40:00 +00:00
Dock: fix floating distance when bar is at the bottom
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user