diff options
| author | madelinegr <monika_hedman@brown.edu> | 2019-06-11 12:54:05 -0400 |
|---|---|---|
| committer | madelinegr <monika_hedman@brown.edu> | 2019-06-11 12:54:05 -0400 |
| commit | f4a545e6e4b21ca28ce861325be69d920578d6c0 (patch) | |
| tree | 6adbd99ea734c3bfff9a86f7c4f0904831579dc7 /src/client/views/collections/collectionFreeForm/MarqueeView.tsx | |
| parent | 0f9ae31c6a6f384b2b8df9223a820c2d53571d3a (diff) | |
| parent | 06d5bb5c65da6f4a115ebf8118989115420bccef (diff) | |
pulled from master
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/MarqueeView.tsx')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/MarqueeView.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx index 658f18f6a..b6c566964 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); } @@ -325,7 +325,6 @@ export class MarqueeView extends React.Component<MarqueeViewProps> } else { this.props.addDocument(newCollection, false); - SelectionManager.DeselectAll(); this.props.selectDocuments([newCollection]); } this.cleanupInteractions(false); |
