mirror of
https://github.com/trafficlunar/jellyfin-spicetify.git
synced 2026-06-13 19:07:06 +00:00
fix: more accurate volume in contrast to spotify
This commit is contained in:
parent
11add72f2c
commit
738304a680
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ export function registerEvents() {
|
||||||
currentVolume = args[0];
|
currentVolume = args[0];
|
||||||
|
|
||||||
if (hijackActive) {
|
if (hijackActive) {
|
||||||
audio.volume = Math.pow(currentVolume, 3);
|
audio.volume = Math.pow(currentVolume, 3) * 0.425;
|
||||||
if (volumeSlider) volumeSlider.style.setProperty("--progress-bar-transform", `${currentVolume * 100}%`);
|
if (volumeSlider) volumeSlider.style.setProperty("--progress-bar-transform", `${currentVolume * 100}%`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue