Merge pull request #611 from auberginewly/fix/suggest-zooms-export-hidden

fix(zoom): keep export panel visible after Suggest Zooms
This commit is contained in:
Sid
2026-05-18 19:26:54 -07:00
committed by GitHub
+3 -4
View File
@@ -864,11 +864,10 @@ export default function VideoEditor() {
customScale: ZOOM_DEPTH_SCALES[DEFAULT_ZOOM_DEPTH],
focus: clampFocusToDepth(focus, DEFAULT_ZOOM_DEPTH),
};
// Bulk suggest must not steal selection — keeping a zoom selected hides
// the export panel (SettingsPanel gates it on !hasTimelineSelection),
// trapping users who just want to export after auto-zoom.
pushState((prev) => ({ zoomRegions: [...prev.zoomRegions, newRegion] }));
setSelectedZoomId(id);
setSelectedTrimId(null);
setSelectedAnnotationId(null);
setSelectedBlurId(null);
},
[pushState],
);