mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Call this.didMouseDown instead of props.didMouseDown in dummy scrollbars
This commit is contained in:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user