client/js/paper-renderer.js
changeset 95 383d020a8af8
parent 82 ff79f9f4321a
child 105 810a1c1015df
equal deleted inserted replaced
94:b0b53cbe695b 95:383d020a8af8
  1739     var _hitResult = paper.project.hitTest(_event.point);
  1739     var _hitResult = paper.project.hitTest(_event.point);
  1740     if (this.is_dragging) {
  1740     if (this.is_dragging) {
  1741         if (this.click_target && typeof this.click_target.paperShift === "function") {
  1741         if (this.click_target && typeof this.click_target.paperShift === "function") {
  1742             this.click_target.paperShift(_event.delta);
  1742             this.click_target.paperShift(_event.delta);
  1743         } else {
  1743         } else {
  1744             this.paperShift(_delta);
  1744             this.paperShift(_event.delta);
  1745         }
  1745         }
  1746     } else {
  1746     } else {
  1747         this.findTarget(_hitResult);
  1747         this.findTarget(_hitResult);
  1748     }
  1748     }
  1749 }
  1749 }