From e3bd27115f81f97fe6e83a3547287282cf529b51 Mon Sep 17 00:00:00 2001 From: Alexandra Date: Sat, 29 Oct 2022 04:01:54 -0600 Subject: [PATCH] Bugfix: color and size --- contents/ui/Task.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contents/ui/Task.qml b/contents/ui/Task.qml index 6aacead6..985bd03a 100644 --- a/contents/ui/Task.qml +++ b/contents/ui/Task.qml @@ -445,7 +445,7 @@ MouseArea { var parentSize = !isVertical ? frame.width : frame.height; var indicatorComputedSize; var adjustment = isFirst ? adjust : 0 - var parentSpacingAdjust = task.childCount >= 1 && maxStates >= 2 ? spacing * 3 : 0 //Spacing fix for multiple items + var parentSpacingAdjust = task.childCount >= 1 && maxStates >= 2 ? (spacing * 2.5) : 0 //Spacing fix for multiple items if(plasmoid.configuration.indicatorDominantColor){ colorEval = decoColor } @@ -492,7 +492,7 @@ MouseArea { var colorHSL = hexToHSL(colorEval) colorCalc = Qt.hsla(colorHSL.h, 0.2, 0.6, 1) } - if(!isFirst && plasmoid.configuration.indicatorStyle === 0) {//Metro specific handling + else if(!isFirst && plasmoid.configuration.indicatorStyle === 0 && task.state !== "minimized") {//Metro specific handling colorCalc = Qt.darker(colorEval, 1.2) } else {