From 859bb1b733901e4697f1d53781af725e4830c607 Mon Sep 17 00:00:00 2001 From: eleanor-park Date: Tue, 14 Jan 2025 17:19:16 +0100 Subject: added drawing fill style reference --- .../collectionFreeForm/CollectionFreeFormView.tsx | 35 ++-------------------- 1 file changed, 3 insertions(+), 32 deletions(-) (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx') diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index e1144f21a..66e0ba5d9 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -2194,38 +2194,9 @@ export class CollectionFreeFormView extends CollectionSubView e.stopPropagation(); - // protected createDashEventsTarget = (ele: HTMLDivElement | null) => { - // // this._dropDisposer?.(); - // this._oldDrag?.removeEventListener('pointerdown', this.onPassiveDrag); - // this._oldDrag = ele; - // // prevent wheel events from passively propagating up through containers and prevents containers from preventDefault which would block scrolling - // ele?.addEventListener('pointerdown', this.onPassiveDrag, { passive: false }); - // }; - - componentAIViewHistory = () => { - return ( -
- {/* {this._prevImgs.map(img => ( - { - this.dataDoc[this.fieldKey] = new ImageField(img.pathname); - this.dataDoc.ai_firefly_prompt = img.prompt; - this.dataDoc.ai_firefly_seed = img.seed; - }} - /> - ))} */} -
- ); - }; componentAIView = () => { const showRegenerate = this.Document[DocData].ai; @@ -2241,7 +2212,7 @@ export class CollectionFreeFormView extends CollectionSubView this._canInteract && (this._regenInput = e.target.value))} + onChange={action(e => (this._regenInput = e.target.value))} placeholder="Prompt (Optional)" />