From ef41f17ef353a853aa290c8fbd8a89f30c7fde17 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Sun, 5 Apr 2020 19:26:02 +0300 Subject: [PATCH] fix minimumLength for !compositing --- containment/package/contents/ui/main.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/containment/package/contents/ui/main.qml b/containment/package/contents/ui/main.qml index fdee26825..39993565d 100644 --- a/containment/package/contents/ui/main.qml +++ b/containment/package/contents/ui/main.qml @@ -278,9 +278,9 @@ Item { property int minLength: { if (root.isHorizontal) { - return behaveAsPlasmaPanel ? width : width * (minLengthPerCentage/100) + return behaveAsPlasmaPanel && Latte.WindowSystem.compositingActive ? width : width * (minLengthPerCentage/100) } else { - return behaveAsPlasmaPanel ? height : height * (minLengthPerCentage/100) + return behaveAsPlasmaPanel && Latte.WindowSystem.compositingActive ? height : height * (minLengthPerCentage/100) } }