Changes

Jump to: navigation, search

Gecko:Mouse Wheel Scrolling

899 bytes added, 14:52, 26 January 2010
Override system of system scroll speed
= Override system of system scroll speed =
 
Instead of the acceleration, we provide an override mechanism of system scroll speed.
 
This is enabled in default settings '''only''' on Windows. '''mousewheel.system_scroll_override_on_root_content.enabled''' can switch it.
 
'''On Windows''', If the system scroll speed settings are not customized by user or mouse driver, this system can override the scrolling speed. '''On others''', this can override the speed every time.
 
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.
 
See also [https://bugzilla.mozilla.org/show_bug.cgi?id=513817 bug 513817].
= Hack for Thinkpad (Windows)=
87
edits

Navigation menu