From b0151afa9a921198074a78940fca4cf674420739 Mon Sep 17 00:00:00 2001 From: Oni-Men Date: Fri, 20 Mar 2020 14:30:37 +0900 Subject: [PATCH] =?UTF-8?q?Add=20range=20component,=20=E9=9F=B3=E9=87=8F?= =?UTF-8?q?=E8=A8=AD=E5=AE=9A=E3=81=A7=E4=BD=BF=E7=94=A8=E3=81=99=E3=82=8B?= =?UTF-8?q?=20(#6146)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * add range component, use range component at volume setting * refactor * refactor 2 * Update range.vue Co-authored-by: syuilo --- src/client/components/ui/range.vue | 138 +++++++++++++++++++++++++ src/client/pages/preferences/index.vue | 18 +++- 2 files changed, 152 insertions(+), 4 deletions(-) create mode 100644 src/client/components/ui/range.vue diff --git a/src/client/components/ui/range.vue b/src/client/components/ui/range.vue new file mode 100644 index 0000000000..ab59bf516c --- /dev/null +++ b/src/client/components/ui/range.vue @@ -0,0 +1,138 @@ + + + + + diff --git a/src/client/pages/preferences/index.vue b/src/client/pages/preferences/index.vue index eddf69653d..3bc305a229 100644 --- a/src/client/pages/preferences/index.vue +++ b/src/client/pages/preferences/index.vue @@ -8,8 +8,10 @@
{{ $t('sounds') }}
- {{ $t('volume') }} - + + + {{ $t('volume') }} +
@@ -85,12 +87,13 @@