diff --git a/src/com/hippo/ehviewer/windowsanimate/RippleSprite.java b/src/com/hippo/ehviewer/windowsanimate/RippleSprite.java index 29b36037f..688d9e5ec 100644 --- a/src/com/hippo/ehviewer/windowsanimate/RippleSprite.java +++ b/src/com/hippo/ehviewer/windowsanimate/RippleSprite.java @@ -112,8 +112,10 @@ public class RippleSprite extends Sprite { mOuterRadius = ((float) Math.sqrt(halfWidth * halfWidth + halfHeight * halfHeight)); - //mStartingX = mBounds.exactCenterX(); - //mStartingY = mBounds.exactCenterY(); + if (!mKeepBound) { + mStartingX = mBounds.exactCenterX(); + mStartingY = mBounds.exactCenterY(); + } clampStartingPosition(); }