Skip to content
Permalink
Browse files

Attempt at zoom-to-point

  • Loading branch information...
Jack Wrenn
Jack Wrenn committed Oct 13, 2015
1 parent 4b83c5c commit 61d9b0333fa604fb7166609a4519eb1faa7b061f
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/main.rs
@@ -88,6 +88,7 @@ fn main() {
} else {
scale *= 0.9;
}
translation = -mouse_last + mouse_last/scale;
},

(MouseInput(Pressed,Left), State::None) => {

0 comments on commit 61d9b03

Please sign in to comment.
You can’t perform that action at this time.