Merge pull request #442 from cdinhoo/codex/live-preview-updates

# Conflicts:
#	docs/architecture.md
This commit is contained in:
Claude
2026-10-10 12:50:18 +00:00
5 changed files with 262 additions and 11 deletions
+1 -1
View File
@@ -667,7 +667,7 @@ pub fn show(app: &mut EffectcraftApp, ui: &mut egui::Ui, rect: Rect) {
let frame = comp.frame_rate.frame_at(time);
let key = app.frame_key(cid, frame, scale);
app.request_frame_urgent(cid, frame, scale);
if let Some(img) = app.frames.get(&key) {
if let Some((key, img)) = app.frames.get_for_viewer(&key, app.viewer_shown.as_ref().map(|(_, k)| k)) {
let stale = app.viewer_shown.as_ref().is_none_or(|(_, k)| *k != key);
// A CPU frame goes up again when the magnification calls for another factor.
let minify = minify_factor(app.session.prefs.viewer_zoom_smooth(), scale, (zoom * ppp) as f64);