mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Generate a frame when a transaction scrolls
This no longer happens automatically in WebRender, so we must do it manually. Fixes #20762.
This commit is contained in:
parent
1d8283e010
commit
dc1914ba3d
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue