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.
This commit is contained in:
Patrick Walton 2016-06-10 11:21:43 -07:00
parent 08a55e2951
commit 8c5b7ff330

View file

@ -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()
}
}