kcm/kwindecoration: Fix window thumbnail sizes
Caused by a stray `units` context property that no longer exists.
This commit is contained in:
parent
1fbd99b572
commit
f6f027aa10
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ import org.kde.kwin.private.kdecoration 1.0 as KDecoration
|
|||
|
||||
KCM.GridView {
|
||||
function updateDecoration(item, marginTopLeft, marginBottomRight) {
|
||||
var mainMargin = units.largeSpacing
|
||||
var mainMargin = Kirigami.Units.largeSpacing
|
||||
var shd = item.shadow
|
||||
item.anchors.leftMargin = mainMargin + marginTopLeft - (shd ? shd.paddingLeft : 0)
|
||||
item.anchors.rightMargin = mainMargin + marginBottomRight - (shd ? shd.paddingRight : 0)
|
||||
|
|
Loading…
Reference in a new issue