Skip to content

Commit

Permalink
compositor: Rerequest scroll positions from WebRender while overscrolled
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pcwalton committed Jun 10, 2016
1 parent 08a55e2 commit 8c5b7ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/compositing/compositor.rs
Expand Up @@ -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()
}
}

Expand Down

0 comments on commit 8c5b7ff

Please sign in to comment.