mirror of
https://github.com/servo/servo.git
synced 2025-07-16 11:53:39 +01:00
Auto merge of #11715 - pcwalton:wr-overscroll-event-targeting-fix, r=glennw
compositor: Rerequest scroll positions from WebRender while overscrolled layers are bouncing back. This fixes a very annoying issue whereby overscrolling would cause mouse events to go to the wrong place until the layer was scrolled again. r? @glennw <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11715) <!-- Reviewable:end -->
This commit is contained in:
commit
4f1837e9ab
1 changed files with 2 additions and 1 deletions
|
@ -2487,7 +2487,8 @@ impl<Window: WindowMethods> IOCompositor<Window> {
|
|||
}
|
||||
|
||||
if let Some(ref webrender_api) = self.webrender_api {
|
||||
webrender_api.tick_scrolling_bounce_animations()
|
||||
webrender_api.tick_scrolling_bounce_animations();
|
||||
self.send_webrender_viewport_rects()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue