From 7dc02267eb7fed32a256f31db66b26ad6c987632 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Tue, 10 Nov 2020 20:04:36 +0100 Subject: [PATCH] fix set volume as Number. --- src/app.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.vue b/src/app.vue index 3960946b..7372c6e3 100644 --- a/src/app.vue +++ b/src/app.vue @@ -52,7 +52,7 @@ min="0" max="1" :value="neko.state.video.volume" - @input="neko.setVolume(parseInt($event))" + @input="neko.setVolume(Number($event.target.value))" step="0.01" />