aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/SelectionManager.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-05-03 09:23:48 -0400
committerbobzel <zzzman@gmail.com>2024-05-03 09:23:48 -0400
commitf672d55873f7565883bdd820f235ab2e11e01fd5 (patch)
tree1285c954d04400c00df7719bf03c540fa14dd294 /src/client/util/SelectionManager.ts
parente2196ef689b6784613b5950446609b08fb0ef7a2 (diff)
from last
Diffstat (limited to 'src/client/util/SelectionManager.ts')
-rw-r--r--src/client/util/SelectionManager.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/client/util/SelectionManager.ts b/src/client/util/SelectionManager.ts
index dd34d5f22..36b926053 100644
--- a/src/client/util/SelectionManager.ts
+++ b/src/client/util/SelectionManager.ts
@@ -51,7 +51,6 @@ export class SelectionManager {
});
public static DeselectAll = (except?: Doc): void => {
- //console.log("deselect all")
const found = this.Instance.SelectedViews.find(dv => dv.Document === except);
runInAction(() => {
LinkManager.Instance.currentLink = undefined;
@@ -63,7 +62,6 @@ export class SelectionManager {
dv._props.whenChildContentsActiveChanged(false);
});
runInAction(() => (this.Instance.SelectedViews.length = 0));
- //not responsible for select onPointerDown
if (found) this.SelectView(found, false);
};