diff --git a/.vs/AAWeb/v15/.suo b/.vs/AAWeb/v15/.suo index e969f2dea..5a8b5794d 100644 Binary files a/.vs/AAWeb/v15/.suo and b/.vs/AAWeb/v15/.suo differ diff --git a/FloatingSpace/FloatingLayer.js b/FloatingSpace/FloatingLayer.js index b6cb5978f..4d4d262f0 100644 --- a/FloatingSpace/FloatingLayer.js +++ b/FloatingSpace/FloatingLayer.js @@ -193,10 +193,14 @@ function newFloatingLayer() { // The radius also have a target. - if (floatingObject.currentRadius < floatingObject.targetRadius) { - floatingObject.currentRadius = floatingObject.currentRadius + .5; - } else { - floatingObject.currentRadius = floatingObject.currentRadius - .5; + if (Math.abs(floatingObject.currentRadius - floatingObject.targetRadius) >= 1) { + + if (floatingObject.currentRadius < floatingObject.targetRadius) { + floatingObject.currentRadius = floatingObject.currentRadius + .5; + } else { + floatingObject.currentRadius = floatingObject.currentRadius - .5; + } + } // The imageSize also have a target.