fix(webui): hide zoom/fit controls and comment draw button for audio assets

This commit is contained in:
yiling
2026-07-05 15:19:53 +08:00
parent a2e982f2e6
commit 5cae1adce1
3 changed files with 28 additions and 21 deletions
@@ -450,6 +450,7 @@ function FileViewPage() {
mediaControllerRef.current?.pause()
}}
selectedCommentId={selectedCommentId}
hideAnnotationControl={sidebarFile?.mediaType?.startsWith('audio/')}
/>
</div>
</div>