diff options
author | Robert Knight <robert.knight@mendeley.com> | 2015-06-14 00:39:25 +0100 |
---|---|---|
committer | Robert Knight <robert.knight@mendeley.com> | 2015-06-22 20:09:52 +0100 |
commit | 658df6047703aa24c88dacc0d17fe5076b778186 (patch) | |
tree | ff0097ffc0470dbbdf587e7f0d2905b36225a9bc /components/script/dom/browsercontext.rs | |
parent | 72ead882c08fbd66d59457efd1ebf86ee4ee97f2 (diff) | |
download | servo-658df6047703aa24c88dacc0d17fe5076b778186.tar.gz servo-658df6047703aa24c88dacc0d17fe5076b778186.zip |
Use a faster scroll speed under X11
Platforms may report scroll deltas either in
chunks/lines/rows or pixels, depending on the
platform API and device capabilities.
If the platform reports a line/chunk-based delta
then the application needs to convert the delta
into a suitable number of pixels.
This commit just hardcodes it to 57 as
a starting point which matches the value that
Firefox calculates as the max char height
for the root frame on my system.
Fixes #5660
Diffstat (limited to 'components/script/dom/browsercontext.rs')
0 files changed, 0 insertions, 0 deletions