Changes

Jump to: navigation, search

Gecko:Mouse Wheel Scrolling

3 bytes removed, 08:08, 31 January 2010
m
Override system of system scroll speed
= Override system of system scroll speed =
We're providing an override mechanism of system scroll speed because the default system scrolling speed of Windows is slower than WebKit's default scroll scrolling speed.
This is enabled in default settings '''only''' on Windows. '''mousewheel.system_scroll_override_on_root_content.enabled''' can switch it.
The ratio can be specified by hidden prefs. '''mousewheel.system_scroll_override_on_root_content.vertical.factor''' is for vertical scrolling event. '''mousewheel.system_scroll_override_on_root_content.horizontal.factor''' is for horizontal scrolling event. The values are used as 1/100 (i.e., the default value 200 means 2.0).
nsEventStateManager multiplies the scrolling speed by the ratio when actually it executes to scroll a targettarget actually. So, DOMMouseScroll event's delta value has never been overwritten by this.
See also [https://bugzilla.mozilla.org/show_bug.cgi?id=513817 bug 513817].
87
edits

Navigation menu