do not show 'Show remote cursor' if peer side is android
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
411ddb949b
commit
6cf81c811f
@ -1437,6 +1437,9 @@ class _DisplayMenuState extends State<_DisplayMenu> {
|
||||
}
|
||||
|
||||
showRemoteCursor() {
|
||||
if (widget.ffi.ffiModel.pi.platform == kPeerPlatformAndroid) {
|
||||
return Offstage();
|
||||
}
|
||||
final visible = !widget.ffi.canvasModel.cursorEmbedded;
|
||||
if (!visible) return Offstage();
|
||||
final state = ShowRemoteCursorState.find(widget.id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user