aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2025-06-11 12:15:39 -0400
committerbobzel <zzzman@gmail.com>2025-06-11 12:15:39 -0400
commit6c011f502118e5246aabd29a30494c669d917fb1 (patch)
treecddfc37733433e182e801a9a4a31c64fb106eb77 /src/client/views/collections
parentbf33580a66c1f8ce87e85bea701415788a887401 (diff)
don't autoTag text docs until they're dropped onto a scrapbook. don't re-tag a text box that has not changed.
Diffstat (limited to 'src/client/views/collections')
-rw-r--r--src/client/views/collections/collectionFreeForm/MarqueeView.tsx8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx
index 12515a72c..7a456c46f 100644
--- a/src/client/views/collections/collectionFreeForm/MarqueeView.tsx
+++ b/src/client/views/collections/collectionFreeForm/MarqueeView.tsx
@@ -16,7 +16,7 @@ import { DocumentType } from '../../../documents/DocumentTypes';
import { Docs, DocumentOptions } from '../../../documents/Documents';
import { SnappingManager, freeformScrollMode } from '../../../util/SnappingManager';
import { Transform } from '../../../util/Transform';
-import { UndoManager, undoBatch, undoable } from '../../../util/UndoManager';
+import { UndoManager, undoBatch } from '../../../util/UndoManager';
import { ContextMenu } from '../../ContextMenu';
import { ObservableReactComponent } from '../../ObservableReactComponent';
import { MarqueeViewBounds } from '../../PinFuncs';
@@ -33,8 +33,6 @@ import { requestAiGeneratedPreset, DocumentDescriptor } from '../../nodes/scrapb
import { buildPlaceholdersFromConfigs, slotRealDocIntoPlaceholders } from '../../nodes/scrapbook/ScrapbookBox';
import './MarqueeView.scss';
-import { build } from 'xregexp';
-
interface MarqueeViewProps {
Doc: Doc;
getContainerTransform: () => Transform;
@@ -589,9 +587,7 @@ export class MarqueeView extends ObservableReactComponent<SubCollectionViewProps
const allPlaceholders = unwrap(flatPl);
// 4) Slot each selectedDocs[i] into the first matching placeholder
- selectedDocs.forEach(realDoc => {
- slotRealDocIntoPlaceholders(realDoc, allPlaceholders);
- });
+ selectedDocs.forEach(realDoc => slotRealDocIntoPlaceholders(realDoc, allPlaceholders));
const selected = this.marqueeSelect(false).map(d => {
this._props.removeDocument?.(d);