From dbb334c529d76e4f3d22afaa86c0a8b10f3a0216 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Thu, 12 Nov 2026 15:27:11 -0800 Subject: [PATCH] Images: pick the images to decode ahead with the scaled stroke and effect bounds The draw path scales an item's stroke extent and effect outset by its transform before culling; the pass that picks images to decode ahead used the unscaled values, so a scaled image whose stroke or shadow reaches the view decoded on the render thread. --- crates/render/src/draw.rs | 7 +++++-- crates/render/src/tests.rs | 9 +++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/crates/render/src/draw.rs b/crates/render/src/draw.rs index 91a492b2e..95e0a159c 100644 --- a/crates/render/src/draw.rs +++ b/crates/render/src/draw.rs @@ -99,8 +99,11 @@ fn wanted_in(f: &Frame, it: &Item, parent: Affine, depth: usize, out: &mut Vec