Skip to content

Commit

Permalink
Fixe #149, Mousewheel zoom works inverse
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanue1 committed Jun 1, 2019
1 parent fbc5b14 commit 26d78cb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ public void mouseClicked(MouseEvent e) {

// Update font size
if (e.getWheelRotation() > 0) {
INCREASE_FONT_SIZE_ACTION.actionPerformedImpl(null, textArea);
} else {
DECREASE_FONT_SIZE_ACTION.actionPerformedImpl(null, textArea);
} else {
INCREASE_FONT_SIZE_ACTION.actionPerformedImpl(null, textArea);
}

// Save preferences
Expand Down

0 comments on commit 26d78cb

Please sign in to comment.