Skip to content

Commit 0ab1521

Browse files
authored
Merge pull request #13 from alexankitty/enhancements
Bug fix: Color and sizings
2 parents 88243b5 + 602292a commit 0ab1521

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contents/ui/Task.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ MouseArea {
445445
var parentSize = !isVertical ? frame.width : frame.height;
446446
var indicatorComputedSize;
447447
var adjustment = isFirst ? adjust : 0
448-
var parentSpacingAdjust = task.childCount >= 1 && maxStates >= 2 ? spacing * 3 : 0 //Spacing fix for multiple items
448+
var parentSpacingAdjust = task.childCount >= 1 && maxStates >= 2 ? (spacing * 2.5) : 0 //Spacing fix for multiple items
449449
if(plasmoid.configuration.indicatorDominantColor){
450450
colorEval = decoColor
451451
}
@@ -492,7 +492,7 @@ MouseArea {
492492
var colorHSL = hexToHSL(colorEval)
493493
colorCalc = Qt.hsla(colorHSL.h, 0.2, 0.6, 1)
494494
}
495-
if(!isFirst && plasmoid.configuration.indicatorStyle === 0) {//Metro specific handling
495+
else if(!isFirst && plasmoid.configuration.indicatorStyle === 0 && task.state !== "minimized") {//Metro specific handling
496496
colorCalc = Qt.darker(colorEval, 1.2)
497497
}
498498
else {

0 commit comments

Comments
 (0)