From 8c8e98478d34eb015d94c26e271a288a331ac4f1 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Tue, 9 May 2017 19:22:56 +0300 Subject: [PATCH] update signals for updateScale in TaskIconItem --- plasmoid/contents/ui/TaskIconItem.qml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/plasmoid/contents/ui/TaskIconItem.qml b/plasmoid/contents/ui/TaskIconItem.qml index eb6bf98f2..ee24ed1ce 100644 --- a/plasmoid/contents/ui/TaskIconItem.qml +++ b/plasmoid/contents/ui/TaskIconItem.qml @@ -450,7 +450,7 @@ Item{ //badgeMask } hideSource: true - // live: mainItemContainer.badgeIndicator > 0 ? true : false + // live: mainItemContainer.badgeIndicator > 0 ? true : false } supportsAtlasTextures: true @@ -713,8 +713,11 @@ Item{ else icList.directRender=false; - root.updateScale(index+1, 1, 0); - root.updateScale(index-1, 1, 0); + wrapper.updateIdSendScale(index+2, 1, 0); + wrapper.updateIdSendScale(index+1, 1, 0); + wrapper.updateIdSendScale(index-1, 1, 0); + wrapper.updateIdSendScale(index-2, 1, 0); + root.noTasksInAnimation++; mainItemContainer.setBlockingAnimation(true); @@ -1122,8 +1125,9 @@ Item{ onRunningChanged: { if(!running){ var halfZoom = 1 + ((root.zoomFactor - 1) / 2); - root.updateScale(index-1, halfZoom, 0); - root.updateScale(index+1, halfZoom, 0); + + wrapper.updateIdSendScale(index-1, halfZoom, 0); + wrapper.updateIdSendScale(index+1, halfZoom, 0); mainItemContainer.animationEnded(); // root.animations--;