diff options
| author | bob <bcz@cs.brown.edu> | 2019-09-06 13:45:04 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-09-06 13:45:04 -0400 |
| commit | 173863d85ee590c276bf22b1cfe91e0d00986720 (patch) | |
| tree | 3159c7b07af9ceb72d2db97228253cc2d566ebc8 /src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | |
| parent | 2707e0898d535cc143272b7bf3b80f829368c097 (diff) | |
added named target docs from rich text.
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index 074bc1822..fac4d4970 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -888,7 +888,7 @@ export class CollectionFreeFormView extends CollectionSubView(PanZoomDocument) { createText = (noteStyle: string, color: string) => { let pt = this.getTransform().transformPoint(ContextMenu.Instance.pageX, ContextMenu.Instance.pageY); - this.addLiveTextBox(Docs.Create.TextDocument({ title: noteStyle, x: pt[0], y: pt[1], backgroundColor: color })) + this.addLiveTextBox(Docs.Create.TextDocument({ title: noteStyle, x: pt[0], y: pt[1], autoHeight: true, backgroundColor: color })) } private childViews = () => [ |
