mirror of
https://github.com/Dangoware/dango-music-player.git
synced 2025-06-22 22:52:59 -05:00
Merge branch 'dango-testing' of https://github.com/Dangoware/dango-music-player into dango-testing
This commit is contained in:
commit
7c2c0664ac
3 changed files with 449 additions and 443 deletions
5
.gitattributes
vendored
5
.gitattributes
vendored
|
@ -1 +1,6 @@
|
||||||
* text=auto
|
* text=auto
|
||||||
|
* text eol=lf
|
||||||
|
|
||||||
|
*.png binary
|
||||||
|
*.ico binary
|
||||||
|
*.icns binary
|
|
@ -311,6 +311,7 @@ function PlayBar({ playing, setPlaying }: PlayBarProps) {
|
||||||
};
|
};
|
||||||
|
|
||||||
const wheelVolume = (event: React.WheelEvent<HTMLDivElement>) => {
|
const wheelVolume = (event: React.WheelEvent<HTMLDivElement>) => {
|
||||||
|
let x = volumeSlider.value;
|
||||||
if (event.deltaY < 0) {
|
if (event.deltaY < 0) {
|
||||||
volumeSlider.value++;
|
volumeSlider.value++;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue