Keep clarity's radius when the develop view zooms in

A frame fraction was taken of the render's short edge, and render_scale
folds the zoom into the region the render stands for. Zoomed to 1:1 on a
corner, clarity, texture and dehaze drew a quarter of the halo the export
gets, though the docs promise they preview honestly at any zoom.
RenderScale now carries the whole framed frame (within), and a frame
fraction is measured against it; at fit nothing changes.
This commit is contained in:
2026-09-27 17:34:16 -04:00
parent cfc1fea25a
commit e601bd806c
3 changed files with 57 additions and 9 deletions
+1 -1
View File
@@ -952,7 +952,7 @@ impl EditGraph {
((fw as f32 * view.width).round() as u32).max(1),
((fh as f32 * view.height).round() as u32).max(1),
);
crate::detail::RenderScale::new(render, full)
crate::detail::RenderScale::new(render, full).within((fw, fh))
}
/// TRACES: FR-DEV-3 | FR-DSP-1