mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Mark all layers as having changed content during pinch zoom
This ensures that layers know that they need to re-issue buffer requests immediately instead of waiting until another content change happens. Fixes #2988.
This commit is contained in:
parent
ebfe8df2a0
commit
96a813724f
1 changed files with 1 additions and 0 deletions
|
@ -223,6 +223,7 @@ impl IOCompositor {
|
|||
// If a pinch-zoom happened recently, ask for tiles at the new resolution
|
||||
if self.zoom_action && precise_time_s() - self.zoom_time > 0.3 {
|
||||
self.zoom_action = false;
|
||||
self.scene.mark_layer_contents_as_changed_recursively();
|
||||
self.send_buffer_requests_for_all_layers();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue