diff options
Diffstat (limited to 'src/client/util/SelectionManager.ts')
-rw-r--r-- | src/client/util/SelectionManager.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/util/SelectionManager.ts b/src/client/util/SelectionManager.ts index 1ab982af1..0862cf20e 100644 --- a/src/client/util/SelectionManager.ts +++ b/src/client/util/SelectionManager.ts @@ -36,7 +36,6 @@ export class SelectionManager { else if (!docView.IsSelected) { if (!extendSelection) { this.DeselectAll(); - console.log("1"); }; this.Instance.SelectedViews.push(docView); docView.IsSelected = true; @@ -46,6 +45,7 @@ export class SelectionManager { }); public static DeselectView = action((docView?: DocumentView): void => { + console.log(3); if (docView && this.Instance.SelectedViews.includes(docView)) { docView.IsSelected = false; this.Instance.SelectedViews.splice(this.Instance.SelectedViews.indexOf(docView), 1); @@ -54,7 +54,6 @@ export class SelectionManager { }); public static DeselectAll = (except?: Doc): void => { - console.log("deselected"); const found = this.Instance.SelectedViews.find(dv => dv.Document === except); runInAction(() => { LinkManager.Instance.currentLink = undefined; |