diff --git a/ui/frontend/build_src/src/components/organisms/creationPanel/basicCreation/makeButton/index.tsx b/ui/frontend/build_src/src/components/organisms/creationPanel/basicCreation/makeButton/index.tsx index b78921f9..ac5a8710 100644 --- a/ui/frontend/build_src/src/components/organisms/creationPanel/basicCreation/makeButton/index.tsx +++ b/ui/frontend/build_src/src/components/organisms/creationPanel/basicCreation/makeButton/index.tsx @@ -14,6 +14,7 @@ export default function MakeButton() { const parallelCount = useImageCreate((state) => state.parallelCount); const builtRequest = useImageCreate((state) => state.builtRequest); const addNewImage = useImageQueue((state) => state.addNewImage); + const hasQueue = useImageQueue((state) => state.hasQueuedImages()); const isRandomSeed = useImageCreate((state) => state.isRandomSeed()); const setRequestOption = useImageCreate((state) => state.setRequestOptions); @@ -72,7 +73,11 @@ export default function MakeButton() { }; return ( - ); diff --git a/ui/frontend/build_src/src/components/organisms/creationPanel/basicCreation/makeButton/makeButton.css.ts b/ui/frontend/build_src/src/components/organisms/creationPanel/basicCreation/makeButton/makeButton.css.ts index 16a10986..d77f8499 100644 --- a/ui/frontend/build_src/src/components/organisms/creationPanel/basicCreation/makeButton/makeButton.css.ts +++ b/ui/frontend/build_src/src/components/organisms/creationPanel/basicCreation/makeButton/makeButton.css.ts @@ -8,4 +8,8 @@ export const MakeButtonStyle = style({ color: "white", padding: "8px", borderRadius: "5px", + + ':disabled': { + backgroundColor: "rgb(38, 77, 141, 0.5)", + }, }); diff --git a/ui/frontend/build_src/src/components/organisms/displayPanel/index.tsx b/ui/frontend/build_src/src/components/organisms/displayPanel/index.tsx index ba428ef9..cc9c6cb1 100644 --- a/ui/frontend/build_src/src/components/organisms/displayPanel/index.tsx +++ b/ui/frontend/build_src/src/components/organisms/displayPanel/index.tsx @@ -103,14 +103,16 @@ export default function DisplayPanel() {
+ {/* TODO Put the in painting controls here */} + {/* */} + - {/* TODO Put the in painting controls here */} - +
diff --git a/ui/frontend/build_src/src/stores/imageCreateStore.ts b/ui/frontend/build_src/src/stores/imageCreateStore.ts index 47c46c9c..a7025423 100644 --- a/ui/frontend/build_src/src/stores/imageCreateStore.ts +++ b/ui/frontend/build_src/src/stores/imageCreateStore.ts @@ -66,7 +66,6 @@ type ModifiersList = string[]; type ModifiersOptions = string | ModifiersList[]; type ModifiersOptionList = ModifiersOptions[]; - interface ImageCreateState { parallelCount: number; requestOptions: ImageRequest;