mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ballon hides on click outside
This commit is contained in:
@@ -1175,7 +1175,7 @@ public final class ToolWindowManagerImpl extends ToolWindowManagerEx implements
|
||||
Icon actualIcon = icon != null ? icon : type.getDefaultIcon();
|
||||
|
||||
final Balloon balloon =
|
||||
JBPopupFactory.getInstance().createHtmlTextBalloonBuilder(text.replace("\n", "<br>"), actualIcon, type.getPopupBackground(), listener).setHideOnClickOutside(false).setHideOnFrameResize(false)
|
||||
JBPopupFactory.getInstance().createHtmlTextBalloonBuilder(text.replace("\n", "<br>"), actualIcon, type.getPopupBackground(), listener).setHideOnClickOutside(true).setHideOnFrameResize(false)
|
||||
.createBalloon();
|
||||
myWindow2Balloon.put(toolWindowId, balloon);
|
||||
Disposer.register(balloon, new Disposable() {
|
||||
|
||||
Reference in New Issue
Block a user