Skip to content

Commit bb7b369

Browse files
committed
reverse mouse wheel - push away to make smaller
1 parent ed72019 commit bb7b369

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/marginallyclever/makelangelo/preview/OpenGLPanel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ public void mouseWheelMoved(MouseWheelEvent e) {
129129
p.x -= r.getCenterX();
130130
p.y -= r.getCenterY();
131131

132-
if (notches < 0) {
132+
if (notches > 0) {
133133
if (mouseLastZoomDirection == -1) camera.zoom(-1,p);
134134
mouseLastZoomDirection = -1;
135135
} else {

0 commit comments

Comments
 (0)