diff --git a/lib/minimap.coffee b/lib/minimap.coffee index 5bd84cbb..227ee74a 100644 --- a/lib/minimap.coffee +++ b/lib/minimap.coffee @@ -22,6 +22,7 @@ class Minimap @emitter.emit('did-change-scroll-top', scrollTop) onDidChange: (callback) -> @emitter.on 'did-change', callback + onDidChangeScrollTop: (callback) -> @emitter.on 'did-change-scroll-top', callback