Skip to content

Instantly share code, notes, and snippets.

@carambula
Created October 28, 2013 17:59
Show Gist options
  • Select an option

  • Save carambula/7201506 to your computer and use it in GitHub Desktop.

Select an option

Save carambula/7201506 to your computer and use it in GitHub Desktop.
Demo of scaling weirdness while dragging in framer. Help!
cell = new View({
x: 0,
y: 300,
width: 640,
height: 100
});
cell.dragger = new ui.Draggable(cell);
cell.animated = false;
cell.on(Events.DragMove, function() {
cell.scale = cell.y / 200
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment