       @editorsMinimaps.delete(key)
     @editorsMinimaps = undefined
     @toggled = false
+    @active = false
 
   # Verifies that the passed-in version expression is satisfied by
   # the current minimap version.


  # Toggles the minimap display.
  toggle: ->
    if @toggled
      @toggled = false
      @editorsMinimaps?.forEach (value, key) =>


  # Activates the minimap package.
  activate: ->
    @active = true
    @toggle() if atom.config.get 'minimap.autoToggle'

  # Deactivates the minimap package.
