diff options
| author | sharkiecodes <lanyi_stroud@brown.edu> | 2025-07-22 12:35:43 -0400 |
|---|---|---|
| committer | sharkiecodes <lanyi_stroud@brown.edu> | 2025-07-22 12:35:43 -0400 |
| commit | d31a740378e8d4fd58ec329ba83dd20d28bfe5b4 (patch) | |
| tree | b46103d4f9fd2b04ccfc25023e1cb0156168f412 /src/client/views/collections/collectionFreeForm | |
| parent | 62f9b89dad334d3d6405f5286e66b253090a82c7 (diff) | |
| parent | 3f489c64d9e55d452c255f8e2c10b0d754883dbb (diff) | |
Merge branch 'master' into lanyi-expanded-agent-paper-main
Diffstat (limited to 'src/client/views/collections/collectionFreeForm')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index 76b9fd8db..3e6aa777f 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -107,7 +107,6 @@ export class CollectionFreeFormView extends CollectionSubView<Partial<collection /** * The Freeformview below the cursor at the start of a gesture (that receives the pointerDown event). Used by GestureOverlay to determine the doc a gesture should apply to. */ - // eslint-disable-next-line no-use-before-define public static DownFfview: CollectionFreeFormView | undefined; // the first DocView that receives a pointerdown event. used by GestureOverlay to determine the doc a gesture should apply to. private _clusters = new CollectionFreeFormClusters(this); @@ -2204,10 +2203,6 @@ export class CollectionFreeFormView extends CollectionSubView<Partial<collection @observable private _regenerateLoading = false; @observable private _regenInput = ''; - @observable private _canInteract = true; - @observable private _drawingFillInput = ''; - @observable private _regenLoading = false; - @observable private _drawingFillLoading = false; @observable private _fireflyRefStrength = 0; componentAIView = () => { @@ -2220,7 +2215,7 @@ export class CollectionFreeFormView extends CollectionSubView<Partial<collection aria-label="Edit instructions input" type="text" value={this._regenInput || StrCast(this.Document.title)} - onChange={action(e => this._canInteract && (this._regenInput = e.target.value))} + onChange={action(e => (this._regenInput = e.target.value))} placeholder={this._regenInput || StrCast(this.Document.title)} /> <div className="imageBox-aiView-regenerate-createBtn"> @@ -2253,10 +2248,7 @@ export class CollectionFreeFormView extends CollectionSubView<Partial<collection max={100} number={this._fireflyRefStrength} size={Size.XXSMALL} - setNumber={undoable( - action(val => this._canInteract && (this._fireflyRefStrength = val as number)), - `${this.Document.title} button set from list` - )} + setNumber={undoable(action(val => (this._fireflyRefStrength = val as number)),`${this.Document.title} button set from list` )} fillWidth /> </div> |
