mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
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:
parent
08a55e2951
commit
8c5b7ff330
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