Skip to content

Commit

Permalink
No longer rounds x,y positions... was causing dragging to get off. GH-30
Browse files Browse the repository at this point in the history
  • Loading branch information
tantaman committed Jun 29, 2012
1 parent 1f77e05 commit 59e2e02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/ui/editor/components/ComponentView.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ define(["vendor/backbone",
newX = x + dx / @dragScale
newY = y + dy / @dragScale

@model.setInt("x", newX)
@model.setInt("y", newY)
@model.set("x", newX)
@model.set("y", newY)
@_prevPos.x = e.pageX
@_prevPos.y = e.pageY

Expand Down

0 comments on commit 59e2e02

Please sign in to comment.