mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 18:33:33 +00:00
fix album art res 0 and allow resizing volume bar
This commit is contained in:
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}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue