mirror of
https://github.com/Boof2015/prism.git
synced 2026-08-19 03:54:23 +02:00
LUFS panel fix
This commit is contained in:
@@ -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)),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user