From bacd576e23065f7de8d6793931b67058f435e7b0 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Mon, 20 May 2019 22:28:47 +0200 Subject: [PATCH] BUG in animation of image --- FloatingSpace/FloatingObject.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FloatingSpace/FloatingObject.js b/FloatingSpace/FloatingObject.js index 6975f4612..a6a8c9bef 100644 --- a/FloatingSpace/FloatingObject.js +++ b/FloatingSpace/FloatingObject.js @@ -126,7 +126,7 @@ function newFloatingObject () { // The imageSize also have a target. - if (Math.abs(thisObject.currentImageSize - thisObject.targetImageSize) >= 1) { + if (Math.abs(thisObject.currentImageSize - thisObject.targetImageSize) >= 10) { if (thisObject.currentImageSize < thisObject.targetImageSize) { thisObject.currentImageSize = thisObject.currentImageSize + 10 } else {