 
       dragState = @dragState
 
+      if (ps = @parent.getScale()) isnt 1
+        @dragState.parentScale = ps
+
       if options.containment
 
         dragState.containment = {}

    dragGlobDir  = dragDir.global
    dragCurDir   = dragDir.current
    {axis}       = @getOptions().draggable

    draggedDistance = if axis
      if axis is "x" then Math.abs x else Math.abs y

      h : $el.outerHeight no
      n : @constructor.name
    }

  getScale: ->
    return @element.getBoundingClientRect().width / @element.offsetWidth

  setRandomBG:->@getDomElement().css "background-color", KD.utils.getRandomRGB()

