From d4528d42035bffd13a9fdc7a2aee0a823ad7da57 Mon Sep 17 00:00:00 2001
From: Michail Vourlakos <mvourlakos@gmail.com>
Date: Sat, 8 Apr 2017 21:20:52 +0300
Subject: [PATCH] do not update iconSize automatically

--if the user has disabled automatically shrinking
calculations then these computations shouldnt
run... There is a chance that this is also responsible
for wrong counting animations
---
 containment/contents/ui/main.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/containment/contents/ui/main.qml b/containment/contents/ui/main.qml
index 6db3abcc2..bfcdf343b 100644
--- a/containment/contents/ui/main.qml
+++ b/containment/contents/ui/main.qml
@@ -1026,7 +1026,7 @@ DragDrop.DropArea {
     }
 
     function updateAutomaticIconSize() {
-        if ((visibilityManager.normalState && !root.editMode)
+        if ((visibilityManager.normalState && !root.editMode && root.autoDecreaseIconSize)
                 && (iconSize===root.maxIconSize || iconSize === automaticIconSizeBasedSize) ) {
             var layoutLength;
             var maxLength = root.maxLength;