mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-11 10:26:19 +02:00
Refactor, optional parameter 'updateCursorPos'
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
3958090e0f
commit
570ce7d28d
4 changed files with 7 additions and 12 deletions
|
@ -820,8 +820,7 @@ class _MonitorMenu extends StatelessWidget {
|
|||
if (isChooseDisplayToOpenInNewWindow(pi, ffi.sessionId)) {
|
||||
openMonitorInNewTabOrWindow(i, ffi.id, pi);
|
||||
} else {
|
||||
final updateCursorPos = !isMulti;
|
||||
openMonitorInTheSameTab(i, ffi, pi, updateCursorPos);
|
||||
openMonitorInTheSameTab(i, ffi, pi, updateCursorPos: !isMulti);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue