Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only send new scroll frames to the compositor if a scroll event actually resulted in motion, and fix some overscroll problems. #302

Merged
merged 3 commits into from
Jun 30, 2016

Conversation

pcwalton
Copy link
Contributor

0.001 is way too small and results in lots of unnecessary frames of
bounce animation.
Before, the animation could incorrectly restart if a fling lasted longer
than the bounce animation took to run.
pcwalton added a commit to pcwalton/servo that referenced this pull request Jun 29, 2016
and fix the jerky scrolling "pops" during flings on Mac.

See the comments in compositor.rs for more details.

Requires servo/webrender#302 and servo/webrender_traits#64.
@glennw
Copy link
Member

glennw commented Jun 29, 2016

@pcwalton This part looks fine once the other bits are reviewed.

@pcwalton
Copy link
Contributor Author

@bors-servo: r=glennw

@bors-servo
Copy link
Contributor

📌 Commit 3aec09d has been approved by glennw

@bors-servo
Copy link
Contributor

⌛ Testing commit 3aec09d with merge b324744...

bors-servo pushed a commit that referenced this pull request Jun 30, 2016
 	Only send new scroll frames to the compositor if a scroll event actually resulted in motion, and fix some overscroll problems.

Requires servo/webrender_traits#64.

r? @glennw
@Ms2ger Ms2ger merged commit 3aec09d into servo:master Jun 30, 2016
Ms2ger pushed a commit to servo/servo that referenced this pull request Jun 30, 2016
and fix the jerky scrolling "pops" during flings on Mac.

See the comments in compositor.rs for more details.

Requires servo/webrender#302 and servo/webrender_traits#64.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants