aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/SelectionManager.ts
diff options
context:
space:
mode:
authorLionel Han <47760119+IGoByJoe@users.noreply.github.com>2020-07-17 14:34:41 -0700
committerLionel Han <47760119+IGoByJoe@users.noreply.github.com>2020-07-17 14:34:41 -0700
commitf2019b9c05d5c9b63dde6329e845e72707fb348a (patch)
tree9f52b672e5337e62926156023b226ea8240d26d9 /src/client/util/SelectionManager.ts
parent1c6a596aec0a3bf933af03a754e2bf0f268e3d51 (diff)
parent2df5e1fb9c249ab29c0d8fc56d0a2ce394ae6643 (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into new_audio
Diffstat (limited to 'src/client/util/SelectionManager.ts')
-rw-r--r--src/client/util/SelectionManager.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/util/SelectionManager.ts b/src/client/util/SelectionManager.ts
index 024532f90..9a968aeda 100644
--- a/src/client/util/SelectionManager.ts
+++ b/src/client/util/SelectionManager.ts
@@ -14,6 +14,7 @@ export namespace SelectionManager {
SelectedDocuments: ObservableMap<DocumentView, boolean> = new ObservableMap();
@action
SelectDoc(docView: DocumentView, ctrlPressed: boolean): void {
+
// if doc is not in SelectedDocuments, add it
if (!manager.SelectedDocuments.get(docView)) {
if (!ctrlPressed) {