fix mobile show chat window

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-04-04 09:51:41 +08:00
parent c804ad9942
commit 6c78e7bf74
3 changed files with 13 additions and 7 deletions

View File

@@ -158,12 +158,7 @@ class _RemotePageState extends State<RemotePage>
// _isCustomCursorInited = true;
// }
_ffi.dialogManager.setOverlayState(_blockableOverlayState);
_ffi.chatModel.setOverlayState(_blockableOverlayState);
// make remote page penetrable automatically, effective for chat over remote
_blockableOverlayState.onMiddleBlockedClick = () {
_blockableOverlayState.setMiddleBlocked(false);
};
_blockableOverlayState.applyFfi(_ffi);
}
@override