mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-21 10:50:30 +03:00
update colors for unity counters
This commit is contained in:
parent
82173e0bb0
commit
1eeac88f36
@ -82,7 +82,7 @@ Rectangle {
|
||||
|
||||
anchors.centerIn: parent
|
||||
|
||||
property color drawColor: mainItemContainer.badgeIndicator > 0 ? theme.buttonFocusColor : theme.highlightColor;
|
||||
property color drawColor: theme.buttonFocusColor; //mainItemContainer.badgeIndicator > 0 ? theme.buttonFocusColor : theme.highlightColor;
|
||||
|
||||
onDrawColorChanged: requestPaint();
|
||||
|
||||
@ -110,7 +110,9 @@ Rectangle {
|
||||
text: numberValue > 0 ? numberValue : ""
|
||||
font.pixelSize: 0.6 * parent.height
|
||||
font.bold: true
|
||||
color: mainItemContainer.badgeIndicator > 0 ? theme.backgroundColor : theme.textColor
|
||||
color: ( (mainItemContainer.badgeIndicator > 0)
|
||||
|| (centralItem.smartLauncherItem.countVisible && !centralItem.smartLauncherItem.progressVisible) ) ?
|
||||
theme.backgroundColor : theme.textColor
|
||||
visible: showNumber
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user