add comment

Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
dignow 2023-09-10 15:41:29 +08:00
parent ea5c60af7a
commit e1f2cd21e7

View File

@ -320,6 +320,8 @@ class _RemotePageState extends State<RemotePage> {
return RawPointerMouseRegion(
cursor: keyboard ? SystemMouseCursors.none : MouseCursor.defer,
inputModel: inputModel,
// Disable RawKeyFocusScope before the connecting is established.
// The "Delete" key on the soft keyboard may be grabbed when inputting the password dialog.
child: gFFI.ffiModel.pi.isSet.isTrue
? RawKeyFocusScope(
focusNode: _physicalFocusNode,