     return if item is @activeItem
     @activeItem = item
 
-    if @activeTabSupportMinimap()
+    if @getEditor()
       @log 'minimap is supported by the current tab'
       @activatePaneViewMinimap() unless @minimapIsAttached()
       @storeActiveEditor()


  # OTHER PRIVATE METHODS

  activeTabSupportMinimap: -> @getEditor()

  scale: (x=1,y=1) -> "scale(#{x}, #{y}) "
  translateY: (y=0) -> "translate3d(0, #{y}px, 0)"
  transform: (el, transform) ->


  getScrollViewClientRect: -> @scrollViewLines[0].getBoundingClientRect()

  # See Atom's API /api/classes/Pane.html#getActiveEditor-instance
  # Returns an Editor if the pane item is an Editor, or null otherwise.
  getEditor: -> @paneView.model.getActiveEditor()

