diff options
| author | bob <bcz@cs.brown.edu> | 2019-04-24 09:22:41 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-04-24 09:22:41 -0400 |
| commit | 04b177406a98a52f4f8b3f94375f94db2f46a5df (patch) | |
| tree | 26ef7703f0516657a66d47f1c6eff1d23b8267e8 /src/client/views/collections/collectionFreeForm | |
| parent | 27f505949ae47c3c5f83633115b9d238936d4003 (diff) | |
added simple text box titling
Diffstat (limited to 'src/client/views/collections/collectionFreeForm')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/MarqueeView.tsx | 2 |
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 623643238..06e8a9fc6 100644 --- a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx +++ b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx @@ -49,7 +49,7 @@ export class MarqueeView extends React.Component<MarqueeViewProps> onKeyPress = (e: KeyboardEvent) => { //make textbox and add it to this collection let [x, y] = this.props.getTransform().transformPoint(this._downX, this._downY); - let newBox = Documents.TextDocument({ width: 200, height: 100, x: x, y: y, title: "typed text" }); + let newBox = Documents.TextDocument({ width: 200, height: 100, x: x, y: y, title: "-typed text-" }); this.props.addLiveTextDocument(newBox); e.stopPropagation(); } |
