Changes

Jump to: navigation, search

Gecko:Mouse Wheel Scrolling

194 bytes added, 01:38, 27 January 2010
Override system of system scroll speed
= Override system of system scroll speed =
Instead of the acceleration, we provide 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 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 ratiowhen actually it executes to scroll a target. So, DOMMouseScroll event's delta value has never been overridden by this.
See also [https://bugzilla.mozilla.org/show_bug.cgi?id=513817 bug 513817].
87
edits

Navigation menu