diff options
author | bob <bcz@cs.brown.edu> | 2019-03-18 08:50:20 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-03-18 08:50:20 -0400 |
commit | a6bd51b13b3f571718f6db9161fdbbc497582336 (patch) | |
tree | aa6b542c9e89eefac7145ecea05419ee1cc90a49 | |
parent | 6df4833c13921dd6d69d05fa979398356d438c71 (diff) |
fixed missing first character when typing bug
-rw-r--r-- | src/client/views/collections/PreviewCursor.tsx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/views/collections/PreviewCursor.tsx b/src/client/views/collections/PreviewCursor.tsx index cbcfa568d..cbf36cf9e 100644 --- a/src/client/views/collections/PreviewCursor.tsx +++ b/src/client/views/collections/PreviewCursor.tsx @@ -59,7 +59,6 @@ export class PreviewCursor extends React.Component<PreviewCursorProps> { let newBox = Documents.TextDocument({ width: 200, height: 100, x: x, y: y, title: "new" }); this.props.addLiveTextDocument(newBox); e.stopPropagation(); - e.preventDefault(); } } |