 {CompositeDisposable} = require 'atom'
-{$, View} = require 'space-pen'
+{View} = require 'space-pen'
 _ = require 'underscore-plus'
 
 module.exports = class ToolBarView extends View

    @subscriptions.dispose()
    @detach() if @panel?
    @panel.destroy() if @panel?
    $(window).off 'resize', @drawGutter

  updateSize: (size) ->
    @removeClass 'tool-bar-16px tool-bar-24px tool-bar-32px'

    if atom.config.get 'tool-bar.visible'
      @show()

    @.element.addEventListener 'scroll', @drawGutter
    window.addEventListener 'resize', @drawGutter

  serialize: ->

