Permalink
Browse files

New build

  • Loading branch information...
koenbok committed Nov 14, 2013
1 parent 5fce264 commit ae7c9911d0deed1b422d96b35f802be368f6a2cc
Showing with 8 additions and 8 deletions.
  1. +8 −8 build/framer.js
@@ -1,7 +1,7 @@
// Framer 2.0-46-g01172c3 (c) 2013 Koen Bok
// Framer 2.0-47-ge4c5467 (c) 2013 Koen Bok
// https://github.com/koenbok/Framer
window.FramerVersion = "2.0-46-g01172c3";
window.FramerVersion = "2.0-47-ge4c5467";
(function(){var require = function (file, cwd) {
@@ -4511,20 +4511,20 @@ require.define("/src/ui/draggable.coffee",function(require,module,exports,__dirn
Draggable.prototype._updatePosition = function(event) {
var correctedDelta, delta, touchEvent;
this.emit(Events.DragMove, event);
touchEvent = Events.touchEvent(event);
delta = {
x: touchEvent.clientX - this._start.x,
y: touchEvent.clientY - this._start.y
x: touchEvent.webkitMovementX,
y: touchEvent.webkitMovementY
};
correctedDelta = {
x: delta.x * this.speed.x,
y: delta.y * this.speed.y,
t: event.timeStamp
};
this.view.x = this._start.x + correctedDelta.x - this._offset.x;
this.view.y = this._start.y + correctedDelta.y - this._offset.y;
this._deltas.push(correctedDelta);
return this.emit(Events.DragMove, event);
this.view.x += correctedDelta.x;
this.view.y += correctedDelta.y;
return this._deltas.push(correctedDelta);
};
Draggable.prototype._touchStart = function(event) {

0 comments on commit ae7c991

Please sign in to comment.