mirror of
https://github.com/Boof2015/prism.git
synced 2026-08-19 03:54:23 +02:00
ui/ux QoL improvements
This commit is contained in:
@@ -9,7 +9,11 @@ import { usePerformanceStore } from '../stores/performanceStore'
|
||||
import { FrameScheduler } from '../visualizers/frameScheduler'
|
||||
import { getRendererWindowCapabilities } from '../windowCapabilities'
|
||||
|
||||
export default function Strip(): JSX.Element {
|
||||
interface StripProps {
|
||||
onMeasurementActiveChange?: (active: boolean) => void
|
||||
}
|
||||
|
||||
export default function Strip({ onMeasurementActiveChange }: StripProps): JSX.Element {
|
||||
const scopeOrder = useSettingsStore((s) => s.scopeOrder)
|
||||
const hiddenScopes = useSettingsStore((s) => s.hiddenScopes)
|
||||
const scopePopouts = useSettingsStore((s) => s.scopePopouts)
|
||||
@@ -268,6 +272,7 @@ export default function Strip(): JSX.Element {
|
||||
<ScopeModule
|
||||
scopeKind={kind}
|
||||
frameScheduler={frameScheduler}
|
||||
onMeasurementActiveChange={onMeasurementActiveChange}
|
||||
/>
|
||||
</div>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user