@samitouri / QOSami-HFS / commits / 4ffca5bc

fix: file-show: bad layout if zoom is used with audio

Massimo Melina committed May 11, 2024 at 22:16 UTC 4ffca5bcf622d3639a7c4a6039f07a858b01d04a
1 file changed +1 -1
frontend/src/show.ts
+1 -1
@@ -93,7 +93,7 @@ export function fileShow(entry: DirEntry, { startPlaying=false } = {}) {
93 return h(FlexV, {
94 gap: 0,
95 alignItems: 'stretch',
96 - className: ZoomMode[mode],
96 + className: keepNav ? undefined : ZoomMode[mode], // keepNav=audio, and we don't want zoom on it
97 props: {
98 role: 'dialog',
99 onMouseMove() {