< prev index next >

src/java.desktop/macosx/classes/sun/lwawt/macosx/CPlatformView.java

Print this page

        

*** 192,202 **** int absX = event.getAbsX(); int absY = event.getAbsY(); if (event.getType() == CocoaConstants.NSScrollWheel) { responder.handleScrollEvent(x, y, absX, absY, event.getModifierFlags(), ! event.getScrollDeltaX(), event.getScrollDeltaY()); } else { responder.handleMouseEvent(event.getType(), event.getModifierFlags(), event.getButtonNumber(), event.getClickCount(), x, y, absX, absY); } --- 192,203 ---- int absX = event.getAbsX(); int absY = event.getAbsY(); if (event.getType() == CocoaConstants.NSScrollWheel) { responder.handleScrollEvent(x, y, absX, absY, event.getModifierFlags(), ! event.getScrollDeltaX(), event.getScrollDeltaY(), ! event.getScrollPhase()); } else { responder.handleMouseEvent(event.getType(), event.getModifierFlags(), event.getButtonNumber(), event.getClickCount(), x, y, absX, absY); }
< prev index next >