diff options
| author | bobzel <zzzman@gmail.com> | 2025-01-16 12:00:52 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2025-01-16 12:00:52 -0500 |
| commit | b0903079ab0abbc65e927d70ee0f6bb593865869 (patch) | |
| tree | 4f2060b5ed8d3ef6cefa477fe84479778ccc9e33 /src/client/views/collections/collectionFreeForm | |
| parent | a5fd5986acfa15d1442e9fa96b1af5c2131452da (diff) | |
fixed style references for generating ai images. fixed some error cases.
Diffstat (limited to 'src/client/views/collections/collectionFreeForm')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss | 1 | ||||
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 5 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss index 82887a7a5..6dabcb8b2 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.scss @@ -326,7 +326,6 @@ .collectionFreeFormView-aiView-regenerate-container { text-align: start; font-weight: normal; - padding: 5px; width: 100%; display: flex; .collectionFreeformView-aiView-subtitle { 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 |
