Skip to content

Commit 67bab51

Browse files
committed
Delay schema panel refresh to after inspections run (300ms) (#164)
1 parent 42bf5a2 commit 67bab51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/com/intellij/lang/jsgraphql/ide/project/schemastatus/GraphQLSchemasPanel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public boolean isPathSelected(TreePath treePath) {
9494
final Runnable treeUpdater = () -> myBuilder.updateFromRoot(true);
9595
final Runnable queueTreeUpdater = () -> {
9696
treeUpdaterAlarm.cancelRequest(treeUpdater);
97-
treeUpdaterAlarm.addRequest(treeUpdater, 300); // delay similar to inspection delay
97+
treeUpdaterAlarm.addRequest(treeUpdater, 500);
9898
};
9999

100100
// update tree on schema or config changes

0 commit comments

Comments
 (0)