diff options
author | Tyler Schicke <tyler_schicke@brown.edu> | 2019-04-24 21:36:46 -0400 |
---|---|---|
committer | Tyler Schicke <tyler_schicke@brown.edu> | 2019-04-24 21:36:46 -0400 |
commit | a4e2e38fbe60d48fe1d211aec9b4e6bd99c815c1 (patch) | |
tree | b904f7891d490500ebcf86584f2fc973212a6425 /src/client/util/SelectionManager.ts | |
parent | 8ae00e0bc28b9bf2d310a148f27d2088df01e502 (diff) |
DocumentDecorations
Diffstat (limited to 'src/client/util/SelectionManager.ts')
-rw-r--r-- | src/client/util/SelectionManager.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/util/SelectionManager.ts b/src/client/util/SelectionManager.ts index 92d78696e..a1a22f732 100644 --- a/src/client/util/SelectionManager.ts +++ b/src/client/util/SelectionManager.ts @@ -1,9 +1,9 @@ import { observable, action } from "mobx"; import { DocumentView } from "../views/nodes/DocumentView"; -import { Document } from "../../fields/Document"; import { Main } from "../views/Main"; import { MainOverlayTextBox } from "../views/MainOverlayTextBox"; import { DragManager } from "./DragManager"; +import { Doc } from "../../new_fields/Doc"; export namespace SelectionManager { class Manager { @@ -51,7 +51,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) { |