[webkit-help] Re: Scrolling behavior modification

Adam Treat treat at kde.org
Wed Jan 6 15:34:50 PST 2010


HI Dmitry,

I just came across your question on this list.  I wasn't registered at the 
time, but here is your answer:

Have a close look at:

ScrollView::wheelEvent(PlatformWheelEvent& e)

and notice this:

e.granularity() == ScrollByPageWheelEvent

All you need to do is force the wheel events to have this set for the 
granularity.

Cheers,
Adam


More information about the webkit-help mailing list