mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Revert "popup with border positioning fix"
This reverts commit 3e935e05d5.
This commit is contained in:
@@ -1093,11 +1093,7 @@ public class AbstractPopup implements JBPopup {
|
||||
myForcedLocation = screenPoint;
|
||||
}
|
||||
else {
|
||||
Insets insets = myPopupBorder.getBorderInsets(myContent);
|
||||
if (insets == null) {
|
||||
insets = new Insets(0, 0, 0, 0);
|
||||
}
|
||||
moveTo(myContent, new Point(screenPoint.x - insets.left, screenPoint.y - insets.top), myLocateByContent ? myHeaderPanel.getPreferredSize() : null);
|
||||
moveTo(myContent, screenPoint, myLocateByContent ? myHeaderPanel.getPreferredSize() : null);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user