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
No known key found for this signature in database
GPG key ID: 18D2767419676C87
4 changed files with 35 additions and 5 deletions

View file

@ -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}
/>