update badges mask in live mode at all cases

BUG: 403353
pull/4/head
Michail Vourlakos 6 years ago
parent 990b8868cd
commit 6c09418aa8

@ -406,29 +406,9 @@ Item{
}
]
} // audio mask
Connections{
target: plasmoid
onLocationChanged: iconOverlay.mask.scheduleUpdate();
}
Connections{
target:badgesLoader
onShowProgressChanged: iconOverlay.mask.scheduleUpdate();
onShowAudioChanged: iconOverlay.mask.scheduleUpdate();
}
Connections{
target: infoBadge
onInformationChanged: {
if (badgesLoader.showProgress) {
iconOverlay.mask.scheduleUpdate();
}
}
}
}
hideSource: true
live: mainItemContainer.badgeIndicator > 0 ? true : false
live: true
} //end of mask
supportsAtlasTextures: true

@ -29,8 +29,6 @@ Item {
readonly property int contentWidth: progressCircle.width + 0.1*height
signal informationChanged();
Item {
id: subRectangle
width: contentWidth
@ -71,8 +69,6 @@ Item {
|| (centralItem.smartLauncherItem.countVisible && !centralItem.smartLauncherItem.progressVisible) )
&& proportion>0
onNumberValueChanged: background.informationChanged();
proportion: {
if (mainItemContainer.badgeIndicator > 0 ||
(centralItem.smartLauncherItem.countVisible && !centralItem.smartLauncherItem.progressVisible)) {

Loading…
Cancel
Save