Closed Bug 898842 Opened 7 years ago Closed 7 years ago

Increase fling momentum

Categories

(Firefox for Metro Graveyard :: Pan and Zoom, defect, P1)

x86_64
Windows 8.1
defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 26

People

(Reporter: jimm, Assigned: bbondy)

References

Details

(Whiteboard: [Metro Preview] )

Attachments

(1 file)

Our old scroll code applied more momentum to flings, which I personally prefered. Currently fling only moves the page about an inch. I think we should increase this so that a fling scrolls ~2x page height.
Component: Input → Pan and Zoom
Whiteboard: [preview-triage]
Priority: -- → P1
Whiteboard: [preview-triage] → [Metro Preview]
I found these prefs:
http://mxr.mozilla.org/mozilla-central/source/gfx/layers/ipc/Axis.cpp#63

I played with them a bit and found this change to get us pretty close to what we had before. 

Please give it a spin and let me know if it works ok for you.
Assignee: nobody → netzen
Attachment #786910 - Flags: review?(jmathies)
The default is 0.006 by the way, so this changes it by a factor of 3.
Comment on attachment 786910 [details] [diff] [review]
bug898842_fling.diff

yes, this is much nicer.
Attachment #786910 - Flags: review?(jmathies) → review+
https://hg.mozilla.org/integration/fx-team/rev/325745823114
Target Milestone: --- → Firefox 26
https://hg.mozilla.org/mozilla-central/rev/325745823114
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Blocks: 922476
OS: Windows 8 Metro → Windows 8.1
You need to log in before you can comment on or make changes to this bug.