Skip to content

Commit

Permalink
🐛 Fix missing minimap when a plugin get an instance before the observer
Browse files Browse the repository at this point in the history
  • Loading branch information
abe33 committed Jan 28, 2015
1 parent 048ca13 commit 9872973
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/main.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,6 @@ class Main
Minimap ?= require './minimap'

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

minimap = @minimapForEditor(textEditor)

editorElement = atom.views.getView(textEditor)
Expand Down

0 comments on commit 9872973

Please sign in to comment.