Codebase list jd-gui / 26d78cb
Fixe #149, Mousewheel zoom works inverse emmanue1 4 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
101101
102102 // Update font size
103103 if (e.getWheelRotation() > 0) {
104 DECREASE_FONT_SIZE_ACTION.actionPerformedImpl(null, textArea);
105 } else {
104106 INCREASE_FONT_SIZE_ACTION.actionPerformedImpl(null, textArea);
105 } else {
106 DECREASE_FONT_SIZE_ACTION.actionPerformedImpl(null, textArea);
107107 }
108108
109109 // Save preferences