From f95296356e67e204bee48bd8fabb71d6b762ce8f Mon Sep 17 00:00:00 2001 From: Kirill Kalishev Date: Wed, 2 Nov 2011 15:16:53 +0300 Subject: [PATCH] ballons with shadows positioning fix --- platform/platform-impl/src/com/intellij/ui/BalloonImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/platform-impl/src/com/intellij/ui/BalloonImpl.java b/platform/platform-impl/src/com/intellij/ui/BalloonImpl.java index ed0a98a1e18b..f5b8b08b1b10 100644 --- a/platform/platform-impl/src/com/intellij/ui/BalloonImpl.java +++ b/platform/platform-impl/src/com/intellij/ui/BalloonImpl.java @@ -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); }