Skip to content

Commit 26d78cb

Browse files
author
emmanue1
committed
Fixe #149, Mousewheel zoom works inverse
1 parent fbc5b14 commit 26d78cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/src/main/java/org/jd/gui/view/component/AbstractTextPage.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ public void mouseClicked(MouseEvent e) {
102102

103103
// Update font size
104104
if (e.getWheelRotation() > 0) {
105-
INCREASE_FONT_SIZE_ACTION.actionPerformedImpl(null, textArea);
106-
} else {
107105
DECREASE_FONT_SIZE_ACTION.actionPerformedImpl(null, textArea);
106+
} else {
107+
INCREASE_FONT_SIZE_ACTION.actionPerformedImpl(null, textArea);
108108
}
109109

110110
// Save preferences

0 commit comments

Comments
 (0)