From 03180c61e74e04efa852c651ce416dbe0ef063d1 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Sun, 21 May 2017 15:34:59 +0300 Subject: [PATCH] force sizes initialization on formFactorChange --- plasmoid/package/contents/ui/task/TaskIconItem.qml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/plasmoid/package/contents/ui/task/TaskIconItem.qml b/plasmoid/package/contents/ui/task/TaskIconItem.qml index c22151739..34bba401c 100644 --- a/plasmoid/package/contents/ui/task/TaskIconItem.qml +++ b/plasmoid/package/contents/ui/task/TaskIconItem.qml @@ -129,12 +129,9 @@ Item{ onFormFactorChanged:{ mainItemContainer.inAddRemoveAnimation = false; - if (wrapper.mScale !== 1) - wrapper.mScale = 1.01; - if (wrapper.tempScaleWidth !== 1) - wrapper.tempScaleWidth = 1.01; - if (wrapper.tempScaleHeight !== 1) - wrapper.tempScaleHeight = 1.01; + wrapper.mScale = 1.01; + wrapper.tempScaleWidth = 1.01; + wrapper.tempScaleHeight = 1.01; wrapper.mScale = 1; wrapper.tempScaleWidth = 1;