mirror of
https://github.com/Boof2015/prism.git
synced 2026-08-20 12:29:51 +02:00
improve speed scale for waveform + version bump + profile migration
This commit is contained in:
@@ -18,6 +18,11 @@ import {
|
||||
findVUReferencePreset,
|
||||
sanitizeVUReferenceDbfs,
|
||||
} from '../../types/vumeter'
|
||||
import {
|
||||
MAX_WAVEFORM_SCROLL_SPEED,
|
||||
MIN_WAVEFORM_SCROLL_SPEED,
|
||||
WAVEFORM_SCROLL_SPEED_STEP,
|
||||
} from '../../types/waveform'
|
||||
import ThemedSelect from './ThemedSelect'
|
||||
|
||||
function vectorscopeModeLabel(mode: ScopeSettings['vectorscope']['mode']): string {
|
||||
@@ -669,9 +674,9 @@ export default function ScopeSettingsSection({
|
||||
label="Speed"
|
||||
value={current.scrollSpeed}
|
||||
valueLabel={`x${current.scrollSpeed.toFixed(0)}`}
|
||||
min={1}
|
||||
max={8}
|
||||
step={1}
|
||||
min={MIN_WAVEFORM_SCROLL_SPEED}
|
||||
max={MAX_WAVEFORM_SCROLL_SPEED}
|
||||
step={WAVEFORM_SCROLL_SPEED_STEP}
|
||||
fullWidth={false}
|
||||
onChange={(value) => onUpdate('waveform', { scrollSpeed: value })}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user