aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2025-01-16 12:00:52 -0500
committerbobzel <zzzman@gmail.com>2025-01-16 12:00:52 -0500
commitb0903079ab0abbc65e927d70ee0f6bb593865869 (patch)
tree4f2060b5ed8d3ef6cefa477fe84479778ccc9e33 /src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
parenta5fd5986acfa15d1442e9fa96b1af5c2131452da (diff)
fixed style references for generating ai images. fixed some error cases.
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx')
-rw-r--r--src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
index 0d593f97f..eeb97bf15 100644
--- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
+++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
@@ -2209,7 +2209,7 @@ export class CollectionFreeFormView extends CollectionSubView<Partial<collection
placeholder={this._drawingFillInput || StrCast(this.Document.title) || 'Describe image'}
type="text"
value={this._drawingFillInput}
- onChange={action(e => this._canInteract && (this._drawingFillInput = e.target.value))}
+ onChange={action(e => {this._drawingFillInput = e.target.value})}
/>
<div className="collectionfreeformview-aiView-strength">
Similarity
@@ -2228,7 +2228,6 @@ export class CollectionFreeFormView extends CollectionSubView<Partial<collection
onChange={action((e, val) => (this._fireflyRefStrength = val as number))}
valueLabelDisplay="auto"
/>
- Reference Strength
</div>
<Button
text="Send"
@@ -2257,7 +2256,7 @@ export class CollectionFreeFormView extends CollectionSubView<Partial<collection
aria-label="Edit instructions input"
type="text"
value={this._regenInput}
- onChange={action(e => this._canInteract && (this._regenInput = e.target.value))}
+ onChange={action(e => {this._regenInput = e.target.value})}
placeholder="..under development.."
/>
<Button