From 313080e5de2f58b632cfc2ea5eaddc1f9402a97a Mon Sep 17 00:00:00 2001 From: Innei Date: Fri, 26 Jul 2024 19:21:28 +0800 Subject: [PATCH] feat: update player styles Signed-off-by: Innei --- .../src/modules/feed-column/corner-player.tsx | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/renderer/src/modules/feed-column/corner-player.tsx b/src/renderer/src/modules/feed-column/corner-player.tsx index b2e746446c..04da24d391 100644 --- a/src/renderer/src/modules/feed-column/corner-player.tsx +++ b/src/renderer/src/modules/feed-column/corner-player.tsx @@ -62,8 +62,8 @@ const CornerPlayerImpl = () => { return ( <> {/* advanced controls */} -
-
+
+
Player.close()} @@ -106,7 +106,7 @@ const CornerPlayerImpl = () => {
-
+
{/* play cover */}
{
-
+
{ onValueChange={(value) => setControlledCurrentTime(value[0])} onValueCommit={(value) => Player.seek(value[0])} > - - + + {/* indicator */} @@ -244,18 +244,18 @@ const VolumeSlider = () => { return ( Player.setVolume(value[0])} > - - + + @@ -266,13 +266,13 @@ const PlaybackRateSelector = () => { const playbackRate = usePlayerAtomSelector((v) => v.playbackRate) return ( -
+
{[0.5, 0.75, 1, 1.25, 1.5, 2].map((rate) => (