diff options
| author | anika <anika.ahluwalia@gmail.com> | 2021-02-11 16:08:43 -0500 |
|---|---|---|
| committer | anika <anika.ahluwalia@gmail.com> | 2021-02-11 16:08:43 -0500 |
| commit | 77b7c3927c454a829d7dbb2748ad322b146265a7 (patch) | |
| tree | 2c83cced52fabb83c030ee38b8150d5f964fcefe /src/client/views/DocComponent.tsx | |
| parent | aede6226aa367ff3137b126e0d0e23e1b2ca84db (diff) | |
| parent | ee3561896e1bbfae4f81bce109fa3df2618cfbc8 (diff) | |
Merge branch 'filters' of https://github.com/browngraphicslab/Dash-Web into filters
Diffstat (limited to 'src/client/views/DocComponent.tsx')
| -rw-r--r-- | src/client/views/DocComponent.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/DocComponent.tsx b/src/client/views/DocComponent.tsx index 99f13295d..b800ba777 100644 --- a/src/client/views/DocComponent.tsx +++ b/src/client/views/DocComponent.tsx @@ -74,6 +74,7 @@ export interface ViewBoxAnnotatableProps { fieldKey: string; layerProvider?: (doc: Doc) => boolean; active: () => boolean; + select: (isCtrlPressed: boolean) => void; whenActiveChanged: (isActive: boolean) => void; isSelected: (outsideReaction?: boolean) => boolean; rootSelected: (outsideReaction?: boolean) => boolean; @@ -145,6 +146,7 @@ export function ViewBoxAnnotatableComponent<P extends ViewBoxAnnotatableProps, T Doc.RemoveDocFromList(targetDataDoc, annotationKey ?? this.annotationKey, doc); recent && Doc.AddDocToList(recent, "data", doc, undefined, true, true); }); + this.props.select(false); return true; } } |
