Fix. Do not update cursor pos when switching display on toolbar when 'Show monitors on toolbar'

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-12-02 21:23:19 +08:00
parent d16db77b52
commit 99ed1b729e
4 changed files with 31 additions and 17 deletions

View File

@@ -787,7 +787,7 @@ void showOptions(
children.add(InkWell(
onTap: () {
if (i == cur) return;
openMonitorInTheSameTab(i, gFFI, pi);
openMonitorInTheSameTab(i, gFFI, pi, false);
gFFI.dialogManager.dismissAll();
},
child: Ink(