mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 21:10:12 +02:00
fix album art res 0 and allow resizing volume bar
This commit is contained in:
@@ -18,6 +18,7 @@ import {
|
||||
useHotkeySettings,
|
||||
useMuted,
|
||||
usePreviousSong,
|
||||
useSettingsStore,
|
||||
useSidebarStore,
|
||||
useSpeed,
|
||||
useVolume,
|
||||
@@ -54,6 +55,7 @@ export const RightControls = () => {
|
||||
} = useRightControls();
|
||||
|
||||
const speed = useSpeed();
|
||||
const volumeWidth = useSettingsStore((state) => state.general.volumeWidth);
|
||||
|
||||
const updateRatingMutation = useSetRating({});
|
||||
const addToFavoritesMutation = useCreateFavorite({});
|
||||
@@ -324,7 +326,7 @@ export const RightControls = () => {
|
||||
min={0}
|
||||
size={6}
|
||||
value={volume}
|
||||
w="60px"
|
||||
w={volumeWidth}
|
||||
onChange={handleVolumeSlider}
|
||||
onWheel={handleVolumeWheel}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user