           view.destroy()
           delete @minimapViews[editorId]
           @emit('minimap-view:destroyed', {view})
+
+          paneView.addClass('with-minimap') if paneView.activeView instanceof EditorView

Mixin = require 'mixto'
MinimapView = require '../minimap-view'


    # the callback.
    @eachEditorViewSubscription = atom.workspaceView.eachEditorView (editorView) =>
      editorId = editorView.editor.id
      paneView = editorView.getPane()
      view = new MinimapView(editorView)

      @minimapViews[editorId] = view
