diff options
| author | bobzel <zzzman@gmail.com> | 2025-05-30 11:00:00 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2025-05-30 11:00:00 -0400 |
| commit | 451891b0e34c84873ccc89dde55442bb9bf23f3d (patch) | |
| tree | 1c0605004f7a9da0b17535cea841bbc8e07de590 /src/client/views/collections | |
| parent | d4f65e278dafac8e86ed001275fd4b3fb98ca1cf (diff) | |
| parent | 76a21badf70c82388872ec5485858ab06e303bca (diff) | |
Merge branch 'master' into Template-Changes
Diffstat (limited to 'src/client/views/collections')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/MarqueeView.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx index 37959a5f0..c120cddf0 100644 --- a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx +++ b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx @@ -190,6 +190,7 @@ export class MarqueeView extends ObservableReactComponent<SubCollectionViewProps FormattedTextBox.SelectOnLoadChar = Doc.UserDoc().defaultTextLayout && !this._props.childLayoutString ? e.key : ''; FormattedTextBox.LiveTextUndo = UndoManager.StartBatch('type new note'); this._props.addLiveTextDocument(DocUtils.GetNewTextDoc('-typed text-', x, y, 200, 100)); + setTimeout(() => FormattedTextBox.LiveTextUndo?.end(), 100); e.stopPropagation(); } }; |
