feat: update volume control range to 0-100 for better granularity
This commit is contained in:
@@ -238,8 +238,8 @@ export function MusicPlayer() {
|
||||
<input
|
||||
type="range"
|
||||
min="0"
|
||||
max="1"
|
||||
step="0.01"
|
||||
max="100"
|
||||
step="1"
|
||||
value={isMuted ? 0 : volume}
|
||||
onChange={handleVolumeChange}
|
||||
className="w-16 h-1 bg-muted rounded-lg appearance-none cursor-pointer slider"
|
||||
@@ -375,8 +375,8 @@ export function MusicPlayer() {
|
||||
<input
|
||||
type="range"
|
||||
min="0"
|
||||
max="1"
|
||||
step="0.01"
|
||||
max="100"
|
||||
step="1"
|
||||
value={isMuted ? 0 : volume}
|
||||
onChange={handleVolumeChange}
|
||||
className="w-24 h-2 bg-muted rounded-lg appearance-none cursor-pointer"
|
||||
|
||||
Reference in New Issue
Block a user