aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/SelectionManager.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/util/SelectionManager.ts')
-rw-r--r--src/client/util/SelectionManager.ts11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/client/util/SelectionManager.ts b/src/client/util/SelectionManager.ts
index 5311841e1..6e0e6fd3a 100644
--- a/src/client/util/SelectionManager.ts
+++ b/src/client/util/SelectionManager.ts
@@ -22,14 +22,6 @@ export namespace SelectionManager {
}
}
@action
- DeSelectDoc(doc: DocumentView): void {
- if (manager.SelectedDocuments.indexOf(doc) !== -1) {
- manager.SelectedDocuments.splice(manager.SelectedDocuments.indexOf(doc), 1);
- doc.props.whenActiveChanged(false);
- }
- }
-
- @action
DeselectAll(): void {
manager.SelectedDocuments.map(dv => dv.props.whenActiveChanged(false));
manager.SelectedDocuments = [];
@@ -46,9 +38,6 @@ export namespace SelectionManager {
export function IsSelected(doc: DocumentView): boolean {
return manager.SelectedDocuments.indexOf(doc) !== -1;
}
- export function DeSelectDoc(doc: DocumentView): void {
- manager.DeSelectDoc(doc);
- }
export function DeselectAll(except?: Doc): void {
let found: DocumentView | undefined = undefined;