LUFS panel fix

This commit is contained in:
Boof2015
2026-08-17 00:56:17 -04:00
parent c73dac4fc1
commit 5c6677c2a5
8 changed files with 371 additions and 53 deletions
+2 -1
View File
@@ -8,6 +8,7 @@ import { audioRouter } from '../audio/AudioRouter'
import { usePerformanceStore } from '../stores/performanceStore'
import { FrameScheduler } from '../visualizers/frameScheduler'
import { getRendererWindowCapabilities } from '../windowCapabilities'
import { getScopePopoutMinWidth } from '../../shared/scopeSizing'
interface StripProps {
onMeasurementActiveChange?: (active: boolean) => void
@@ -209,7 +210,7 @@ export default function Strip({ onMeasurementActiveChange }: StripProps): JSX.El
nextBounds = {
x: Math.round(windowBounds.x + rect.left),
y: Math.round(windowBounds.y + rect.top),
width: Math.max(220, Math.round(rect.width)),
width: Math.max(getScopePopoutMinWidth(kind), Math.round(rect.width)),
height: Math.max(160, Math.round(rect.height)),
}
}