mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-03 10:14:45 +00:00
taskpanel: Make the vertical form factor offset a bit smaller.
This commit is contained in:
parent
1554008648
commit
f599a6897d
1 changed files with 1 additions and 1 deletions
|
|
@ -255,7 +255,7 @@ PlasmaCore.ColorScope {
|
||||||
|
|
||||||
Window.window.offset = Qt.binding(() => {
|
Window.window.offset = Qt.binding(() => {
|
||||||
// FIXME: find a more precise way to determine the top panel height
|
// FIXME: find a more precise way to determine the top panel height
|
||||||
return plasmoid.formFactor === PlasmaCore.Types.Vertical ? PlasmaCore.Units.gridUnit + PlasmaCore.Units.smallSpacing : 0
|
return plasmoid.formFactor === PlasmaCore.Types.Vertical ? PlasmaCore.Units.gridUnit : 0
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue