BUG in animation of image
This commit is contained in:
1 parent
82f63c5493
commit
bacd576e23
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user