     @state.gutters.lineNumberGutter.maxLineNumberDigits = @model.getLineCount().toString().length
 
   updateCommonGutterState: ->
-    @state.gutters.backgroundColor = if @gutterBackgroundColor isnt "rgba(0, 0, 0, 0)"
+    @sharedGutterStyles.backgroundColor = if @gutterBackgroundColor isnt "rgba(0, 0, 0, 0)"
       @gutterBackgroundColor
     else
       @backgroundColor
+    @state.gutters.backgroundColor = @sharedGutterStyles.backgroundColor # TODO jssln Remove
 
   didAddGutter: (gutter) ->
     gutterDisposables = new CompositeDisposable

      return
    for gutter in @model.getGutters()
      isVisible = @gutterIsVisible(gutter)
      @state.gutters.sortedDescriptions.push({gutter, visible: isVisible})

  # Updates the decoration state for the gutter with the given gutterName.
  # @state.gutters.customDecorations is an {Object}, with the form:

        customDecorations: {}
        lineNumberGutter:
          lineNumbers: {}
    # Shared state that is copied into ``@state.gutters`.
    @sharedGutterStyles = {}

    @updateState()

  updateState: ->
