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 82767bdcd..d5d9b29b2 100644 --- a/src/client/util/SelectionManager.ts +++ b/src/client/util/SelectionManager.ts @@ -1,5 +1,4 @@ import { observable, action } from "mobx"; -import { CollectionFreeFormView } from "../views/collections/CollectionFreeFormView"; import { DocumentView } from "../views/nodes/DocumentView"; export namespace SelectionManager { @@ -11,7 +10,7 @@ export namespace SelectionManager { SelectDoc(doc: DocumentView, ctrlPressed: boolean): void { //remove preview cursor from collection - if (doc.props.ContainingCollectionView != undefined && doc.props.ContainingCollectionView instanceof CollectionFreeFormView) { + if (doc.props.ContainingCollectionView != undefined) { doc.props.ContainingCollectionView.hidePreviewCursor(); } |