Fixe #149, Mousewheel zoom works inverse
emmanue1
4 years ago
101 | 101 | |
102 | 102 | // Update font size |
103 | 103 | if (e.getWheelRotation() > 0) { |
104 | DECREASE_FONT_SIZE_ACTION.actionPerformedImpl(null, textArea); | |
105 | } else { | |
104 | 106 | INCREASE_FONT_SIZE_ACTION.actionPerformedImpl(null, textArea); |
105 | } else { | |
106 | DECREASE_FONT_SIZE_ACTION.actionPerformedImpl(null, textArea); | |
107 | 107 | } |
108 | 108 | |
109 | 109 | // Save preferences |