fix album art res 0 and allow resizing volume bar

This commit is contained in:
Kendall Garner
2024-08-22 21:57:58 -07:00
parent 37b0407188
commit 028ccfb1cd
4 changed files with 35 additions and 5 deletions
@@ -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}
/>