Trembling BUG
This commit is contained in:
1 parent
609824da95
commit
5d744ae3ba
2 files changed
+8
-4
No files matched your search
Binary file not shown.
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user