shiftPressed = (e.getModifiers() & InputEvent.SHIFT_MASK) == InputEvent.SHIFT_MASK ? 1 : 0;
if (e.getWheelRotation() > 0) {
component.getRenderWindowInteractor().SetEventInformationFlipY(lastX, lastY, ctrlPressed, shiftPressed, '0', 0, "0");
- component.getRenderWindowInteractor().MouseWheelBackwardEvent();
+ component.getRenderWindowInteractor().MouseWheelForwardEvent();
}
else if (e.getWheelRotation() < 0) {
component.getRenderWindowInteractor().SetEventInformationFlipY(lastX, lastY, ctrlPressed, shiftPressed, '0', 0, "0");
- component.getRenderWindowInteractor().MouseWheelForwardEvent();
+ component.getRenderWindowInteractor().MouseWheelBackwardEvent();
}
} catch (InterruptedException interupt) {
// Nothing to do