 # @cjsx React.DOM
-React          = require 'react'
-Draggable      = require 'lib/draggable'
-DragHandle     = require './drag-handle'
+React           = require 'react'
+Draggable       = require 'lib/draggable'
+DragHandle      = require './drag-handle'
 DeleteButton    = require './delete-button'
+MarkButtonMixin = require 'lib/mark-button-mixin'
 
 SELECTED_RADIUS = 20
 MINIMUM_SIZE = 5


module.exports = React.createClass
  displayName: 'RectangleTool'

  propTypes:
    # key:  React.PropTypes.number.isRequired

            <DragHandle x={x1} y={y2} onDrag={@handleX1Y2Drag} />
          </g>
        }

        { if @props.selected then @renderMarkButton() }
      </g>

    </g>
