mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 03:24:16 +00:00
improve player settings
This commit is contained in:
parent
176857f88c
commit
86a63d63b5
@ -6,14 +6,18 @@ export default {
|
|||||||
settings: [
|
settings: [
|
||||||
{
|
{
|
||||||
id: "player.allowVolumeOver100",
|
id: "player.allowVolumeOver100",
|
||||||
label: "Allow volume over 100%",
|
title: "Allow volume over 100%",
|
||||||
|
group: "general",
|
||||||
|
icon: "MdVolumeUp",
|
||||||
description: "Allow volume amplification over 100% (may cause distortion)",
|
description: "Allow volume amplification over 100% (may cause distortion)",
|
||||||
component: "Switch",
|
component: "Switch",
|
||||||
storaged: true,
|
storaged: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "player.crossfade",
|
id: "player.crossfade",
|
||||||
label: "Crossfade",
|
title: "Crossfade",
|
||||||
|
icon: "MdSwapHoriz",
|
||||||
|
group: "general",
|
||||||
description: "Enable crossfade between tracks",
|
description: "Enable crossfade between tracks",
|
||||||
component: "Slider",
|
component: "Slider",
|
||||||
props: {
|
props: {
|
||||||
@ -32,9 +36,10 @@ export default {
|
|||||||
8: "8s",
|
8: "8s",
|
||||||
9: "9s",
|
9: "9s",
|
||||||
10: "10s",
|
10: "10s",
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
storaged: true,
|
storaged: true,
|
||||||
|
disabled: true,
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
import React from "react"
|
import React from "react"
|
||||||
import * as antd from "antd"
|
import * as antd from "antd"
|
||||||
import { SliderPicker } from "react-color"
|
import { SliderPicker } from "react-color"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user