mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-208775 "Enable font ligatures" unable to click on popup
GitOrigin-RevId: 22ce532d27f708da8f05c99251dfd14e64ce1acb
This commit is contained in:
committed by
intellij-monorepo-bot
parent
914c24e2bc
commit
d1c48a3bb5
@@ -280,6 +280,8 @@ public final class IdeTooltipManager implements Disposable, AWTEventListener {
|
||||
return true;
|
||||
}
|
||||
}.setToCenter(toCenter).setCalloutShift(shift).setPositionChangeShift(posChangeX, posChangeY).setLayer(Balloon.Layer.top);
|
||||
} else if (myCurrentTooltip == tooltip) {
|
||||
return;//Don't re-show the same custom tooltip on every mouse movement
|
||||
}
|
||||
|
||||
show(tooltip, now);
|
||||
|
||||
@@ -33,6 +33,7 @@ import java.awt.*;
|
||||
public class TooltipWithClickableLinks extends IdeTooltip {
|
||||
public TooltipWithClickableLinks(JComponent component, String htmlText, HyperlinkListener hyperlinkListener) {
|
||||
super(component, new Point(), createTipComponent(htmlText, hyperlinkListener), component, htmlText);
|
||||
setHint(true);//Avoid hiding this kind of tooltips when mouse leaves component
|
||||
}
|
||||
|
||||
private static JComponent createTipComponent(String text, HyperlinkListener hyperlinkListener) {
|
||||
|
||||
Reference in New Issue
Block a user