From 361a54748a937c88358317c0b1efeddae28a0319 Mon Sep 17 00:00:00 2001 From: Sergey Malenkov Date: Mon, 8 Dec 2014 19:43:51 +0300 Subject: [PATCH] IDEA-134042 Toolbar popup in vcs-log is shown in wrong position (1 px down-right) --- .../src/com/intellij/ui/popup/AbstractPopup.java | 6 ------ 1 file changed, 6 deletions(-) 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) {