fix #443,support unity message counter

pull/1/head
Michail Vourlakos 8 years ago
parent fa89bd2053
commit b619b2e0d2

@ -255,7 +255,8 @@ Item{
asynchronous: true
property real opacityN: (centralItem.smartLauncherEnabled && centralItem.smartLauncherItem && !mainItemContainer.isSeparator
&& (centralItem.smartLauncherItem.progressVisible || mainItemContainer.badgeIndicator > 0)) ? 1 : 0
&& (centralItem.smartLauncherItem.countVisible || centralItem.smartLauncherItem.progressVisible
|| mainItemContainer.badgeIndicator > 0)) ? 1 : 0
Behavior on opacityN {
NumberAnimation { duration: root.durationTime*2*units.longDuration }

@ -60,7 +60,8 @@ Item {
fullCircle: true
showNumber: true
proportion: {
if (mainItemContainer.badgeIndicator > 0) {
if (mainItemContainer.badgeIndicator > 0 ||
(centralItem.smartLauncherItem.countVisible && !centralItem.smartLauncherItem.progressVisible)) {
return 100;
}

Loading…
Cancel
Save