aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionFreeForm
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-06-05 22:42:43 -0400
committerTyler Schicke <tyler_schicke@brown.edu>2019-06-05 22:42:43 -0400
commit404dcc71558d8de69369aa499227e5168091351d (patch)
tree05509329005fb08cecfb072ba063391bc6ab8a44 /src/client/views/collections/collectionFreeForm
parent2ce189fdf66a0f01b38d28c73c8f6f1247933b3d (diff)
Can now pass list to schema function to get list of that type
Mapped type of a schema can be another schema Added tests for schemas Other minor fixes
Diffstat (limited to 'src/client/views/collections/collectionFreeForm')
-rw-r--r--src/client/views/collections/collectionFreeForm/MarqueeView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx
index 81ca4c29a..c699b3437 100644
--- a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx
+++ b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx
@@ -92,7 +92,7 @@ export class MarqueeView extends React.Component<MarqueeViewProps>
this.pasteTable(ns, x, y);
}
});
- } else {
+ } else if (!e.ctrlKey) {
let newBox = Docs.TextDocument({ width: 200, height: 100, x: x, y: y, title: "-typed text-" });
this.props.addLiveTextDocument(newBox);
}