diff options
author | tschicke-brown <tyler_schicke@brown.edu> | 2019-05-03 20:56:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-03 20:56:32 -0400 |
commit | 1ccabe155cb4f23c0aa7e37f91cd4a303008b8c7 (patch) | |
tree | 4b93ac202fe813033b6d07f7202ab217c0da79f8 /src/client/util/SelectionManager.ts | |
parent | 95d89a193b25d19faf6da0af1412480a36fc9ebe (diff) | |
parent | 070787b6be93dca4a43ec7e893ae4ac4b4d80e59 (diff) |
Merge pull request #92 from browngraphicslab/newDocs
New docs
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) { |