Skip to content

Commit

Permalink
🐛 Fix error when redispatching scroll event
Browse files Browse the repository at this point in the history
Closes #614
  • Loading branch information
abe33 committed Jul 24, 2017
1 parent 29bd6b3 commit b269eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/minimap-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,7 @@ class MinimapElement {
if (this.minimap.scrollIndependentlyOnMouseWheel()) {
this.minimap.onMouseWheel(e)
} else {
this.getTextEditorElement().dispatchEvent(e)
this.getTextEditorElement().component.onMouseWheel(e)
}
}

Expand Down

0 comments on commit b269eb8

Please sign in to comment.