diff options
author | Monika Hedman <monika_hedman@brown.edu> | 2019-05-07 16:34:00 -0400 |
---|---|---|
committer | Monika Hedman <monika_hedman@brown.edu> | 2019-05-07 16:34:00 -0400 |
commit | ef54fbecd832e4c8f31144ab9fa217146833a397 (patch) | |
tree | 4bf8367cc6456f2a3eb23c242adda17dc7999f85 /src/client/util/SelectionManager.ts | |
parent | 93d2214b84eaef61c9a9f980d24b5c1addbd67dc (diff) | |
parent | 14c776b6d30e0bc0d5b3712f28e4b9f1170eae3b (diff) |
pulled from new search
Diffstat (limited to 'src/client/util/SelectionManager.ts')
-rw-r--r-- | src/client/util/SelectionManager.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/util/SelectionManager.ts b/src/client/util/SelectionManager.ts index da66bf3fc..fe5acf4b4 100644 --- a/src/client/util/SelectionManager.ts +++ b/src/client/util/SelectionManager.ts @@ -1,5 +1,5 @@ -import { action, observable } from "mobx"; -import { Document } from "../../fields/Document"; +import { observable, action } from "mobx"; +import { Doc } from "../../new_fields/Doc"; import { MainOverlayTextBox } from "../views/MainOverlayTextBox"; import { DocumentView } from "../views/nodes/DocumentView"; @@ -49,7 +49,7 @@ export namespace SelectionManager { return manager.SelectedDocuments.indexOf(doc) !== -1; } - export function DeselectAll(except?: Document): void { + export function DeselectAll(except?: Doc): void { let found: DocumentView | undefined = undefined; if (except) { for (const view of manager.SelectedDocuments) { |