mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-134042 Toolbar popup in vcs-log is shown in wrong position (1 px down-right)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user