yangjie #22

Merged
yangqiang merged 99 commits from yangjie into master 2024-10-22 16:11:46 +08:00
1 changed files with 5 additions and 4 deletions
Showing only changes of commit bc0724e428 - Show all commits

View File

@ -1423,6 +1423,11 @@ const Meeting: React.FC = () => {
const clickSharedScreen = async (): Promise<void> => {
let data = sharedScreenList.find((item: any) => item.sourceId === sharedScreenItem.sourceId)
if (data) {
setIsShare(user.screenShareId)
window.electron.setMainWindowSize({
width: 350,
height: 200,
})
const footerListTemplate = [...footerList]
footerListTemplate[footerListIndex.itemIndex][footerListIndex.rowIndex].title = '停止共享'
setIsSharedScreenModal(false)
@ -1450,10 +1455,6 @@ const Meeting: React.FC = () => {
key: 'currentSpeakUserWindow',
})
setKeyOpenChildWindow('shareScreenWindow', true)
window.electron.setMainWindowSize({
width: 350,
height: 200,
})
setTimeout(() => {
agora.setupLocalVideo({
uid: Number(user.screenShareId),