diff --git a/platform/platform-impl/src/com/intellij/ui/popup/AbstractPopup.java b/platform/platform-impl/src/com/intellij/ui/popup/AbstractPopup.java index 02f0785971b7..d95c5dc22b38 100644 --- a/platform/platform-impl/src/com/intellij/ui/popup/AbstractPopup.java +++ b/platform/platform-impl/src/com/intellij/ui/popup/AbstractPopup.java @@ -773,12 +773,6 @@ public class AbstractPopup implements JBPopup { } Rectangle targetBounds = new Rectangle(xy, myContent.getPreferredSize()); - Insets insets = myPopupBorder.getBorderInsets(myContent); - if (insets != null) { - targetBounds.x += insets.left; - targetBounds.y += insets.top; - } - Rectangle original = new Rectangle(targetBounds); if (myLocateWithinScreen) { if (myMovable) {