mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
typo
This commit is contained in:
+1
-1
@@ -300,7 +300,7 @@ public class ClasspathPanelImpl extends JPanel implements ClasspathPanel {
|
||||
return "&" + value.getIndex() + " " + value.getTitle();
|
||||
}
|
||||
});
|
||||
final RelativePoint point = getPointUnderButton();
|
||||
final RelativePoint point = getPointBelowButton();
|
||||
if (point == null) {
|
||||
popup.showInBestPositionFor(e.getDataContext());
|
||||
} else {
|
||||
|
||||
@@ -83,7 +83,7 @@ public abstract class AnActionButton extends AnAction implements ShortcutProvide
|
||||
|| (myContextComponent.isVisible() && UIUtil.getParentOfType(JLayeredPane.class, myContextComponent) != null);
|
||||
}
|
||||
|
||||
public final RelativePoint getPointUnderButton() {
|
||||
public final RelativePoint getPointBelowButton() {
|
||||
Container c = myContextComponent;
|
||||
ActionToolbar toolbar = null;
|
||||
while ((c = c.getParent()) != null) {
|
||||
|
||||
Reference in New Issue
Block a user