Skip to content
Browse files

Accidentally applied the view offset twice.

  • Loading branch information...
1 parent 5f7e5a6 commit a4414c7fcd68a682339dbd4439ebee21ef9d1e22 @fdb fdb committed Jun 5, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/java/nodebox/client/NetworkView.java
View
2 src/java/nodebox/client/NetworkView.java
@@ -820,8 +820,6 @@ public void mouseDragged(MouseEvent e) {
// When panning the view use the original mouse point, not the one affected by the view transform.
Point2D offset = minPoint(e.getPoint(), dragStartPoint);
setViewTransform(viewX + offset.getX(), viewY + offset.getY(), viewScale);
- viewX += offset.getX();
- viewY += offset.getY();
dragStartPoint = e.getPoint();
repaint();
return;

0 comments on commit a4414c7

Please sign in to comment.
Something went wrong with that request. Please try again.