Skip to content

Commit 0b26688

Browse files
committed
Merge branch 'master' of github.com:fundon/atom-minimap
2 parents 754986d + 0f6dc2f commit 0b26688

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/minimap-view.coffee

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ class MinimapView extends View
4444
@on 'mousedown', '.minimap-visible-area', @onDragStart
4545

4646
@subscribe @paneView.model.$activeItem, @onActiveItemChanged
47+
# Fixed item move to other pane.
48+
@subscribe @paneView.model, 'item-removed', (item) -> item.off '.minimap'
49+
4750
@subscribe @miniEditorView, 'minimap:updated', @updateMinimapView
4851

4952
@subscribe $(window), 'resize:end', @onScrollViewResized

0 commit comments

Comments
 (0)