File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -282,12 +282,15 @@ onBeforeUnmount(() => {
282282 v-if =" callStore.currentCallState?.callStatus == 'incoming'"
283283 >
284284 <button
285+ type =" button"
285286 class =" h-3/4 w-auto aspect-square rounded-full flex items-center justify-center cursor-pointer duration-200 bg-green-500 text-color-white"
286287 @click =" callStore.acceptCall()"
288+ v-on:focus =" console.log('clicked')"
287289 >
288290 <IconCall :size =" 40" />
289291 </button >
290292 <button
293+ type =" button"
291294 class =" h-3/4 w-auto aspect-square rounded-full flex items-center justify-center cursor-pointer duration-200 bg-red-500 text-color-white"
292295 @click =" callStore.hangup(callStore.currentCallState.callId!)"
293296 >
Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ function switchContainer(n: string) {
3434 leftContent .value = n ;
3535}
3636
37+ function visibleWindow() {}
38+
3739// function getFriendProfileUrl(): string | null {
3840// return friendStore.friends[userStore.ongoingCall!.participants[0]]
3941// .profilePicUrl;
@@ -51,7 +53,10 @@ onUnmounted(() => {
5153 <main class =" w-full min-h-full flex relative" >
5254 <div
5355 class =" w-full lg:w-[21rem] xl:w-[23.5rem] flex flex-col-reverse lg:flex-row"
54- v-if =" userStore.isChatVisible == false || width > 1024"
56+ v-if ="
57+ (userStore.isChatVisible == false || width > 1024) &&
58+ (!userStore.currentCallState || width > 1024)
59+ "
5560 >
5661 <div class =" lg:w-12 xl:w-14 h-16 lg:h-full lg:block" >
5762 <Navigation @switch-container =" switchContainer" />
@@ -75,13 +80,16 @@ onUnmounted(() => {
7580 </div >
7681 </div >
7782 <div
78- v-if =" userStore.isChatVisible || width > 1024"
83+ v-if ="
84+ (userStore.isChatVisible || width > 1024) &&
85+ (!userStore.currentCallState || width > 1024)
86+ "
7987 class =" message w-full flex flex-grow bg-color-background-soft"
8088 >
8189 <Conversation v-if =" userStore.currentConversation" />
8290 </div >
8391 <div
84- class =" lg:w-[40rem] xl:w-[44rem]"
92+ class =" w-full lg:w-[40rem] xl:w-[44rem]"
8593 v-if =" userStore.currentCallState?.minimised == false"
8694 >
8795 <AudioCall v-if =" userStore.currentCallState?.isCameraOn == false" />
You can’t perform that action at this time.
0 commit comments