mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[debugger] IJPL-156831 Fix a possible problem because of changing scroll values outside EDT
GitOrigin-RevId: 035397945f130e749b35f88a5170b5e33ff49c62
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7105b4dae3
commit
3dda96cd67
@@ -409,8 +409,10 @@ public final class XFramesView extends XDebugView {
|
||||
|
||||
if (event == SessionEvent.BEFORE_RESUME) {
|
||||
if (DebuggerUIUtil.freezePaintingToReduceFlickering(myFramesList.getParent())) {
|
||||
myScrollPane.getHorizontalScrollBar().setValue(0);
|
||||
myScrollPane.getVerticalScrollBar().setValue(0);
|
||||
ApplicationManager.getApplication().invokeAndWait(() -> {
|
||||
myScrollPane.getHorizontalScrollBar().setValue(0);
|
||||
myScrollPane.getVerticalScrollBar().setValue(0);
|
||||
});
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user