Skip to content

Commit 8ce09e1

Browse files
authored
Merge pull request #789 from atom-minimap/remove-prevent-default
fix: remove preventDefault from onMouseWheel for independent scroll
2 parents c10e638 + 02527ff commit 8ce09e1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/minimap.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,6 @@ export default class Minimap {
10381038
const previousScrollTop = this.getScrollTop()
10391039
const updatedScrollTop = previousScrollTop - Math.round(wheelDeltaY * this.scrollSensitivity)
10401040

1041-
event.preventDefault()
10421041
this.setScrollTop(updatedScrollTop)
10431042
}
10441043
}

0 commit comments

Comments
 (0)