aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/SelectionManager.ts
diff options
context:
space:
mode:
authorNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-06-25 12:10:05 -0400
committerNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-06-25 12:10:05 -0400
commit54559c677ac3a91e72680b5b7c889d63439edf58 (patch)
tree815e790c0ac836ff12dcd04532bb817da8f0d9ae /src/client/util/SelectionManager.ts
parent3809bb004617a20fd631388d9cf404fa34c3ad52 (diff)
focus is no longer lost
Diffstat (limited to 'src/client/util/SelectionManager.ts')
-rw-r--r--src/client/util/SelectionManager.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/util/SelectionManager.ts b/src/client/util/SelectionManager.ts
index 0b942116c..fc494583f 100644
--- a/src/client/util/SelectionManager.ts
+++ b/src/client/util/SelectionManager.ts
@@ -58,6 +58,7 @@ export class SelectionManager {
});
public static DeselectAll = (except?: Doc): void => {
+
const found = this.Instance.SelectedViews.find(dv => dv.Document === except);
runInAction(() => {
if (LinkManager.Instance) {