taskpanel: Make the vertical form factor offset a bit smaller.

This commit is contained in:
Devin Lin 2021-09-29 12:25:05 +00:00 committed by Devin Lin
parent 1554008648
commit f599a6897d

View file

@ -255,7 +255,7 @@ PlasmaCore.ColorScope {
Window.window.offset = Qt.binding(() => {
// 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
});
}