fix minimumLength for !compositing

pull/13/head
Michail Vourlakos 5 years ago
parent 6034073dd0
commit ef41f17ef3

@ -278,9 +278,9 @@ Item {
property int minLength: { property int minLength: {
if (root.isHorizontal) { if (root.isHorizontal) {
return behaveAsPlasmaPanel ? width : width * (minLengthPerCentage/100) return behaveAsPlasmaPanel && Latte.WindowSystem.compositingActive ? width : width * (minLengthPerCentage/100)
} else { } else {
return behaveAsPlasmaPanel ? height : height * (minLengthPerCentage/100) return behaveAsPlasmaPanel && Latte.WindowSystem.compositingActive ? height : height * (minLengthPerCentage/100)
} }
} }

Loading…
Cancel
Save