Skip to content

Commit

Permalink
🐛 Fix duplicated minimap when dragging tab
Browse files Browse the repository at this point in the history
  • Loading branch information
abe33 committed Jan 6, 2015
1 parent 72b538d commit 83830ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/main-v4.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ class V4Main
Minimap ?= require './minimap'

@subscriptions.add atom.workspace.observeTextEditors (textEditor) =>
return if @editorsMinimaps[textEditor.id]?

minimap = new Minimap({textEditor})
@editorsMinimaps[textEditor.id] = minimap

Expand Down

0 comments on commit 83830ca

Please sign in to comment.