-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/change UI setting qall #4192
Changes from 1 commit
084ea2b
00a4c44
cd8048e
267ee07
77a781f
0a6646c
fce2b7c
424b9c6
b42c4f0
6227ea4
fd7e59d
2d0d30a
4f77a77
56f7f20
394a67b
1846ee5
3f0aa29
70cf5ff
b473e77
2fa1e4a
3c61a3a
5c9b05c
4689e71
1942bf9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,57 +2,59 @@ | |
<section> | ||
<div :class="$style.element"> | ||
<div :class="$style.enable"> | ||
<div :class="$style.header_and_content"> | ||
<h3 :class="$style.header">RTC機能</h3> | ||
<section :class="$style.section"> | ||
<h3 :class="$style.heading">RTC機能</h3> | ||
<p> | ||
通話などのRTC(リアルタイムコミュニケーション)機能を有効化します。 | ||
マイクなどへのアクセス許可が必要です。 | ||
</p> | ||
</div> | ||
</section> | ||
<a-toggle v-model="state.isEnabled" :class="$style.toggle" /> | ||
</div> | ||
</div> | ||
<template v-if="state.isEnabled"> | ||
<div :class="$style.element"> | ||
<div :class="$style.enable"> | ||
<div :class="$style.header_and_content"> | ||
<h3 :class="$style.header">メッセージの読み上げ</h3> | ||
<section :class="$style.section"> | ||
<h3 :class="$style.heading">メッセージの読み上げ</h3> | ||
<p>Qallしているチャンネルに投稿されたメッセージを読み上げます。</p> | ||
</div> | ||
</section> | ||
<a-toggle v-model="state.isTtsEnabled" :class="$style.toggle" /> | ||
</div> | ||
</div> | ||
<div v-if="state.isTtsEnabled" :class="$style.element"> | ||
<div> | ||
<form-selector | ||
v-if="voiceOptions.length > 0" | ||
v-model="state.voiceName" | ||
label="読み上げボイスの種類" | ||
:options="voiceOptions" | ||
/> | ||
<p v-else>読み上げ音声の声の種類が取得できませんでした。</p> | ||
<form-input | ||
v-model.number="state.voicePitch" | ||
label="ピッチ" | ||
type="number" | ||
step="0.1" | ||
/> | ||
<form-input | ||
v-model.number="state.voiceRate" | ||
label="速度" | ||
type="number" | ||
step="0.1" | ||
/> | ||
<form-input | ||
v-model.number="state.voiceVolume" | ||
label="音量" | ||
type="number" | ||
step="0.1" | ||
/> | ||
</div> | ||
<form-selector | ||
v-if="voiceOptions.length > 0" | ||
v-model="state.voiceName" | ||
label="読み上げボイスの種類" | ||
:options="voiceOptions" | ||
:class="$style.option" | ||
/> | ||
<p v-else :class="$style.content">読み上げ音声の声の種類が取得できませんでした。</p> | ||
<form-input | ||
v-model.number="state.voicePitch" | ||
label="ピッチ" | ||
type="number" | ||
step="0.1" | ||
:class="$style.option" | ||
/> | ||
<form-input | ||
v-model.number="state.voiceRate" | ||
label="速度" | ||
type="number" | ||
step="0.1" | ||
:class="$style.option" | ||
/> | ||
<form-input | ||
v-model.number="state.voiceVolume" | ||
label="音量" | ||
type="number" | ||
step="0.1" | ||
:class="$style.option" | ||
/> | ||
</div> | ||
<div :class="$style.element"> | ||
<h3 :class="$style.header">入力デバイス</h3> | ||
<h3 :class="$style.heading">入力デバイス</h3> | ||
<div> | ||
<form-selector | ||
v-if="!fetchFailed && audioInputDevices.length > 0" | ||
|
@@ -63,7 +65,7 @@ | |
</div> | ||
</div> | ||
<div :class="$style.element"> | ||
<h3 :class="$style.header">マスターボリューム</h3> | ||
<h3 :class="$style.heading">マスターボリューム</h3> | ||
<form-range-with-value | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. なるほどです There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ありがとうございます。わかりました。 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. お疲れ様です。スライダーなのですが、FormRangeWithValue.vueを変更してしまってもいいですか? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. リポジトリ全体に対して There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ありがとうございます。確かにQallの設定画面以外では文字列がヒットしませんでした。 |
||
v-model="state.masterVolume" | ||
max-text="100%" | ||
|
@@ -74,7 +76,7 @@ | |
/> | ||
</div> | ||
<div :class="$style.element"> | ||
<h3 :class="$style.header">ノイズゲート</h3> | ||
<h3 :class="$style.heading">ノイズゲート</h3> | ||
<p> | ||
マイクに入力された音が指定した音量以下だった場合にミュートします。 | ||
-100dBにすると無効になります。 | ||
|
@@ -86,6 +88,7 @@ | |
step="1" | ||
max="0" | ||
:format="formatNoiseGateThreshold" | ||
:class="$style.content" | ||
/> | ||
</div> | ||
<noise-suppression | ||
|
@@ -205,7 +208,7 @@ const voiceOptions = useVoices() | |
</script> | ||
|
||
<style lang="scss" module> | ||
.header { | ||
.heading { | ||
margin-bottom: 8px; | ||
} | ||
.element { | ||
|
@@ -215,11 +218,19 @@ const voiceOptions = useVoices() | |
display: flex; | ||
align-items: center; | ||
margin-bottom: 8px; | ||
.header_and_content { | ||
.section { | ||
flex: 1; | ||
} | ||
.toggle { | ||
margin-left: 12px; | ||
} | ||
} | ||
|
||
.option { | ||
margin: 12px 0; | ||
font-size: 12px; | ||
} | ||
.content { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. わかりました、ありがとうございます! |
||
margin: 12px 0; | ||
} | ||
</style> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Figmaで要素を選択した状態でalt押すと、他の要素との距離が見れるので、それを参考にしてちょっと値変えてほしいです:eyes:


1つ目の画像のは多分form-input自体を変えることになるのですが、変えてokだと思います