add
This commit is contained in:
parent
508a6617fe
commit
09829ee211
|
@ -14,14 +14,14 @@ export default function Speed() {
|
|||
return (
|
||||
<>
|
||||
<div className="relative flex items-center">
|
||||
<button
|
||||
<div
|
||||
onClick={() => setIsSpeedOpen(!isSpeedOpen)}
|
||||
className="text-white hover:text-primaryHover flex items-center">
|
||||
<span className="text-xl font-bold mr-1">
|
||||
{playbackSpeed === 1.0 ? "倍速" : `${playbackSpeed}x`}
|
||||
</span>
|
||||
<ChevronUpDownIcon className="w-10 h-10" />
|
||||
</button>
|
||||
</div>
|
||||
{isSpeedOpen && (
|
||||
<div className="absolute bottom-full left-1/2 -translate-x-1/2 mb-2">
|
||||
<div className="bg-black/80 rounded-lg p-2">
|
||||
|
|
Loading…
Reference in New Issue