Update WR (various transform, hit-testing related fixes).

This commit is contained in:
Glenn Watson 2018-02-08 09:06:45 +10:00
parent a0e4ea9f56
commit 0a2ea7381f
3 changed files with 7 additions and 10 deletions

View file

@ -707,7 +707,7 @@ impl LayoutThread {
let mut txn = webrender_api::Transaction::new();
txn.scroll_node_with_id(
webrender_api::LayoutPoint::from_untyped(&point),
webrender_api::IdType::ExternalScrollId(state.scroll_id),
webrender_api::ScrollNodeIdType::ExternalScrollId(state.scroll_id),
webrender_api::ScrollClamping::ToContentBounds
);
self.webrender_api.send_transaction(self.webrender_document, txn);