Skip to content

Commit 3d15c07

Browse files
committed
Merge branch 'feat/qall_remake' into feat/qall_noise
2 parents f1c1f6e + 288ac27 commit 3d15c07

File tree

2 files changed

+28
-15
lines changed

2 files changed

+28
-15
lines changed

src/assets/mdi.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ import {
8787
mdiNotebook,
8888
mdiDelete,
8989
mdiVideo,
90-
mdiVideoOff
90+
mdiVideoOff,
91+
mdiCommentTextMultipleOutline,
92+
mdiCommentOffOutline
9193
} from '@mdi/js'
9294

9395
interface MdiIconsMapping {
@@ -183,7 +185,9 @@ const mdi: MdiIconsMapping = {
183185
'format-title': mdiFormatTitle,
184186
delete: mdiDelete,
185187
video: mdiVideo,
186-
'video-off': mdiVideoOff
188+
'video-off': mdiVideoOff,
189+
'comment-outline': mdiCommentTextMultipleOutline,
190+
'comment-off-outline': mdiCommentOffOutline
187191
}
188192

189193
export default mdi

src/components/Main/MainView/QallView/QallView.vue

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,12 @@ import { useStampPickerInvoker } from '/@/store/ui/stampPicker'
1010
import ParticipantList from './ParticipantList.vue'
1111
import type { TrackInfo } from '/@/composables/qall/useLiveKitSDK'
1212
import UserList from './UserList.vue'
13-
import { useModalStore } from '/@/store/ui/modal'
1413
import CameraDetailSetting from './CameraDetailSetting.vue'
1514
import ScreenShareDetailSetting from './ScreenShareDetailSetting.vue'
1615
import DetailButton from './DetailButton.vue'
1716
import IconButton from '/@/components/UI/IconButton.vue'
1817
import QallMessageView from './QallMessageView.vue'
1918
20-
const { pushModal } = useModalStore()
21-
2219
const {
2320
tracksMap,
2421
screenShareTracks,
@@ -179,23 +176,27 @@ const handleBackgroundSave = (data: {
179176
180177
const showCameraDetailSetting = ref(false)
181178
const showShareScreenSettingDetail = ref(false)
179+
180+
const showDanmaku = ref(true)
181+
const toggleDanmaku = () => {
182+
showDanmaku.value = !showDanmaku.value
183+
}
182184
</script>
183185

184186
<template>
185187
<div :class="$style.Block">
186188
<QallMessageView :channel-id="callingChannel" :typing-users="[]">
187-
<DanmakuContainer />
188-
<IconButton
189-
icon-name="close"
190-
icon-mdi
191-
:class="$style.closeButton"
192-
@click="isSubView = true"
193-
/>
194-
195-
<!-- 縦並び用のラッパ -->
189+
<DanmakuContainer v-if="showDanmaku" />
190+
<div :class="$style.iconContainer">
191+
<IconButton
192+
:icon-name="`comment${showDanmaku ? '' : '-off'}-outline`"
193+
icon-mdi
194+
@click="toggleDanmaku"
195+
/>
196+
<IconButton icon-name="close" icon-mdi @click="isSubView = true" />
197+
</div>
196198
<div :class="$style.stackContainer">
197199
<UserList :class="$style.userList" />
198-
199200
<div :class="$style.controlBarContainer">
200201
<div :class="$style.controlBar">
201202
<div :class="$style.smallButtonGroup">
@@ -382,4 +383,12 @@ const showShareScreenSettingDetail = ref(false)
382383
top: 1rem;
383384
right: 1rem;
384385
}
386+
387+
.iconContainer {
388+
display: flex;
389+
gap: 4px;
390+
position: absolute;
391+
top: 1rem;
392+
right: 1rem;
393+
}
385394
</style>

0 commit comments

Comments
 (0)