IDEA-134042 Toolbar popup in vcs-log is shown in wrong position (1 px down-right)

This commit is contained in:
Sergey Malenkov
2014-12-08 19:46:29 +03:00
parent 651dd76213
commit 361a54748a
@@ -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) {