crossfade player enhancements, reorganize settings

This commit is contained in:
jeffvli
2025-11-19 15:43:20 -08:00
parent 725e44f048
commit 0dff13c43f
8 changed files with 546 additions and 398 deletions
+5
View File
@@ -11,7 +11,9 @@ export interface SelectProps extends MantineSelectProps {
}
export const Select = ({
allowDeselect = false,
classNames,
clearable = false,
maxWidth,
variant = 'default',
width,
@@ -19,14 +21,17 @@ export const Select = ({
}: SelectProps) => {
return (
<MantineSelect
allowDeselect={allowDeselect || clearable}
classNames={{
dropdown: styles.dropdown,
input: styles.input,
label: styles.label,
option: styles.option,
root: styles.root,
section: styles.section,
...classNames,
}}
clearable={false}
style={{ maxWidth, width }}
variant={variant}
withCheckIcon={false}
+3 -5
View File
@@ -95,12 +95,10 @@ export enum AuthState {
}
export enum CrossfadeStyle {
CONSTANT_POWER = 'constantPower',
CONSTANT_POWER_SLOW_CUT = 'constantPowerSlowCut',
CONSTANT_POWER_SLOW_FADE = 'constantPowerSlowFade',
DIPPED = 'dipped',
EQUALPOWER = 'equalPower',
EQUAL_POWER = 'equalPower',
EXPONENTIAL = 'exponential',
LINEAR = 'linear',
S_CURVE = 'sCurve',
}
export enum FontType {