From 96a813724f1b6873bac005c96eff77517cb469a1 Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Sat, 2 Aug 2014 18:25:50 -0700 Subject: [PATCH] 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. --- src/components/compositing/compositor.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/compositing/compositor.rs b/src/components/compositing/compositor.rs index 45742362bb2..cb6828eb473 100644 --- a/src/components/compositing/compositor.rs +++ b/src/components/compositing/compositor.rs @@ -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(); }