From b0903079ab0abbc65e927d70ee0f6bb593865869 Mon Sep 17 00:00:00 2001 From: bobzel Date: Thu, 16 Jan 2025 12:00:52 -0500 Subject: fixed style references for generating ai images. fixed some error cases. --- .../collectionFreeForm/CollectionFreeFormView.scss | 1 - .../collectionFreeForm/CollectionFreeFormView.tsx | 5 +- src/client/views/nodes/DocumentView.scss | 1 - src/client/views/nodes/ImageBox.tsx | 56 +++++++------- src/client/views/smartdraw/DrawingFillHandler.tsx | 45 +++++------ src/server/ApiManagers/FireflyManager.ts | 86 ++++++++++++---------- 6 files changed, 101 insertions(+), 93 deletions(-) (limited to 'src') 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 this._canInteract && (this._drawingFillInput = e.target.value))} + onChange={action(e => {this._drawingFillInput = e.target.value})} />
Similarity @@ -2228,7 +2228,6 @@ export class CollectionFreeFormView extends CollectionSubView (this._fireflyRefStrength = val as number))} valueLabelDisplay="auto" /> - Reference Strength