1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-27 14:50:21 +03:00

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
This commit is contained in:
Michail Vourlakos 2017-04-08 21:20:52 +03:00
parent 237cf1db36
commit d4528d4203

View File

@ -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;