aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/SelectionManager.ts
diff options
context:
space:
mode:
authorNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-05-02 00:36:11 -0400
committerNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-05-02 00:36:11 -0400
commit154029278c92327eb48955ac2c7137b5a59b1d7d (patch)
treef519fd5e0b9aeee69a70781996322af3465aa5cd /src/client/util/SelectionManager.ts
parent7046d5b08275e58b173af915743ed8152c934ff0 (diff)
selected cell moves with col; jitter on col move index 0 fixed
Diffstat (limited to 'src/client/util/SelectionManager.ts')
-rw-r--r--src/client/util/SelectionManager.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/util/SelectionManager.ts b/src/client/util/SelectionManager.ts
index 6f6278662..1a8680e2b 100644
--- a/src/client/util/SelectionManager.ts
+++ b/src/client/util/SelectionManager.ts
@@ -44,6 +44,7 @@ export class SelectionManager {
});
public static DeselectView = action((docView?: DocumentView): void => {
+ console.log("single deselect")
if (docView && this.Instance.SelectedViews.includes(docView)) {
docView.IsSelected = false;
this.Instance.SelectedViews.splice(this.Instance.SelectedViews.indexOf(docView), 1);
@@ -52,6 +53,7 @@ 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;