mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[log] IDEA-133197 repaint after expanding/collapsing branches
runUnderModalProgress not only runs under a modal progress, but also prohibits repaint requests (because the graph can be in inconsistent state while it is changing in the background modal thread) => repaint request should be done outside of this call.
This commit is contained in:
@@ -149,14 +149,9 @@ public class VcsLogUiImpl implements VcsLogUi, Disposable {
|
||||
@Override
|
||||
public void run() {
|
||||
myVisiblePack.getVisibleGraph().getActionController().setLinearBranchesExpansion(false);
|
||||
UIUtil.invokeAndWaitIfNeeded(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
handleAnswer(null, true);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
handleAnswer(null, true);
|
||||
}
|
||||
|
||||
public void hideAll() {
|
||||
@@ -164,14 +159,9 @@ public class VcsLogUiImpl implements VcsLogUi, Disposable {
|
||||
@Override
|
||||
public void run() {
|
||||
myVisiblePack.getVisibleGraph().getActionController().setLinearBranchesExpansion(true);
|
||||
UIUtil.invokeAndWaitIfNeeded(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
handleAnswer(null, true);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
handleAnswer(null, true);
|
||||
}
|
||||
|
||||
public void setLongEdgeVisibility(boolean visibility) {
|
||||
|
||||
Reference in New Issue
Block a user