Skip to content

Commit 574622e

Browse files
committed
Go to Definition always scrolls to the top of the schema (#289)
- No longer need to adjust scroll position after permanent header is imported due to updates in the IntelliJ platform
1 parent d909043 commit 574622e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/com/intellij/lang/jsgraphql/v1/ide/project/JSGraphQLLanguageUIProjectService.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,6 @@ private void insertEditorHeaderComponentIfApplicable(@NotNull FileEditorManager
250250
if (editor instanceof EditorEx) {
251251
((EditorEx) editor).setPermanentHeaderComponent(headerComponent);
252252
}
253-
editor.getScrollingModel().scrollVertically(-1000);
254-
255253
}
256254
});
257255
}

0 commit comments

Comments
 (0)