ballons with shadows positioning fix

This commit is contained in:
Kirill Kalishev
2011-11-02 15:16:53 +03:00
parent 2398b9eaf0
commit f95296356e
@@ -755,7 +755,7 @@ public class BalloonImpl implements Disposable, Balloon, LightweightWindow, Posi
getUpdatedBounds(balloon.myLayeredPane.getSize(), balloon.myForcedBounds, balloon.myComp.getPreferredSize(), balloon.myShowPointer,
balloon.myTargetPoint, balloon.myContainerInsets, balloon.myCalloutshift);
final Point point = getShiftedPoint(bounds.getLocation(), -balloon.getShadowBorderSize());
final Point point = getShiftedPoint(bounds.getLocation(), balloon.getShadowBorderSize());
bounds.setLocation(point);
balloon.myComp._setBounds(bounds);
}