Merge pull request #15515 from atom/as-dont-move-cursor-when-clicking-on-scrollbar

Don't move the cursor when clicking on a scrollbar
This commit is contained in:
Antonio Scandurra
2017-08-31 14:29:25 +02:00
committed by GitHub

View File

@@ -2963,7 +2963,7 @@ class DummyScrollbarComponent {
const {
orientation, scrollWidth, scrollHeight,
verticalScrollbarWidth, horizontalScrollbarHeight,
canScroll, forceScrollbarVisible, didScroll, didMouseDown
canScroll, forceScrollbarVisible, didScroll
} = this.props
const outerStyle = {
@@ -3005,7 +3005,7 @@ class DummyScrollbarComponent {
style: outerStyle,
on: {
scroll: didScroll,
mousedown: didMouseDown
mousedown: this.didMouseDown
}
},
$.div({style: innerStyle})