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

Generate a frame when a transaction scrolls #20766

Merged
merged 1 commit into from May 17, 2018
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Generate a frame when a transaction scrolls

This no longer happens automatically in WebRender, so we must do it
manually.

Fixes #20762.
  • Loading branch information
mrobinson committed May 9, 2018
commit dc1914ba3dc09ab7c17a9ea6e4213ed424cc3539
@@ -937,6 +937,7 @@ impl<Window: WindowMethods> IOCompositor<Window> {
let cursor = webrender_api::WorldPoint::from_untyped(&cursor);
let mut txn = webrender_api::Transaction::new();
txn.scroll(scroll_location, cursor);
txn.generate_frame();
self.webrender_api.send_transaction(self.webrender_document, txn);
self.waiting_for_results_of_scroll = true
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.