🐛 Show combined slice boundary tools

This commit is contained in:
eust-w 2026-09-01 12:40:46 +08:00
parent 7c9a7d412e
commit 514b246c53
2 changed files with 5 additions and 3 deletions

View File

@ -2883,9 +2883,10 @@ export default function AnnotationOperations() {
</div>
) : null}
{isV5Combined ? null : isV5CombinedQuality &&
materializedDirectoryArtifact &&
selectedMaterialization?.status === "completed" ? null : workspaceMode === "clip" ||
{isV5CombinedQuality &&
materializedDirectoryArtifact &&
selectedMaterialization?.status === "completed" ? null : isV5Combined ||
workspaceMode === "clip" ||
workspaceMode === "clip-quality" ||
isV5CombinedQuality ? (
<div className="space-y-4 rounded-xl border border-[#2a2b2f] bg-[#101114] p-4">

View File

@ -209,6 +209,7 @@ test("annotation operations uses the draggable video timeline and workflow deep
assert.match(page, /const at = Number\(annotationPlayhead\.toFixed\(3\)\)/);
assert.doesNotMatch(page, /\(current\.start \+ current\.end\) \/ 2/);
assert.match(page, /在播放头 \$\{annotationPlayhead\.toFixed\(3\)\}s 拆分/);
assert.match(page, /completed" \? null : isV5Combined \|\|/);
assert.match(timeline, /切片导航/);
assert.match(timeline, /播放当前切片/);
assert.match(timeline, /seekToTime\(segment\.start\)/);