IDEA-208775 "Enable font ligatures" unable to click on popup

GitOrigin-RevId: 22ce532d27f708da8f05c99251dfd14e64ce1acb
This commit is contained in:
Vassiliy.Kudryashov
2019-08-22 01:50:10 +03:00
committed by intellij-monorepo-bot
parent 914c24e2bc
commit d1c48a3bb5
2 changed files with 3 additions and 0 deletions
@@ -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) {