mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java-stacktrace] Hide 'Find why' balloon on scrolling
GitOrigin-RevId: 68c6f26a8c92ca7d3299335460484b133ebdfbaf
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e4f3f6d93a
commit
9bebeeaeec
@@ -480,6 +480,9 @@ public class ExceptionWorker {
|
||||
ref.set(balloon);
|
||||
RelativePoint point = JBPopupFactory.getInstance().guessBestPopupLocation(editor);
|
||||
balloon.show(point, Balloon.Position.below);
|
||||
editor.getScrollingModel().addVisibleAreaListener(e -> {
|
||||
Disposer.dispose(balloon);
|
||||
}, balloon);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user