This commit is contained in:
end-4
2024-03-08 22:33:09 +07:00
parent 30c6917bea
commit f2bbefdc63
+2 -2
View File
@@ -58,13 +58,13 @@ export default () => {
return Widget.EventBox({
onScrollUp: () => {
if (!Audio.speaker) return;
if(Audio.speaker.volume <= 0.09) Audio.speaker.volume += 0.01;
if (Audio.speaker.volume <= 0.09) Audio.speaker.volume += 0.01;
else Audio.speaker.volume += 0.03;
Indicator.popup(1);
},
onScrollDown: () => {
if (!Audio.speaker) return;
if(Audio.speaker.volume <= 0.09) Audio.speaker.volume -= 0.01;
if (Audio.speaker.volume <= 0.09) Audio.speaker.volume -= 0.01;
else Audio.speaker.volume -= 0.03;
Indicator.popup(1);
},