Skip to content

Commit

Permalink
reverse mouse wheel - push away to make smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
i-make-robots committed Feb 10, 2025
1 parent ed72019 commit bb7b369
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public void mouseWheelMoved(MouseWheelEvent e) {
p.x -= r.getCenterX();
p.y -= r.getCenterY();

if (notches < 0) {
if (notches > 0) {
if (mouseLastZoomDirection == -1) camera.zoom(-1,p);
mouseLastZoomDirection = -1;
} else {
Expand Down

0 comments on commit bb7b369

Please sign in to comment.