diff --git a/.github/workflows/test-invoke-pip.yml b/.github/workflows/test-invoke-pip.yml index 21fda2d191..17673de937 100644 --- a/.github/workflows/test-invoke-pip.yml +++ b/.github/workflows/test-invoke-pip.yml @@ -80,7 +80,7 @@ jobs: uses: actions/checkout@v3 - name: set test prompt to main branch validation - run:echo "TEST_PROMPTS=tests/validate_pr_prompt.txt" >> ${{ matrix.github-env }} + run: echo "TEST_PROMPTS=tests/validate_pr_prompt.txt" >> ${{ matrix.github-env }} - name: setup python uses: actions/setup-python@v4 diff --git a/invokeai/frontend/web/src/features/canvas/components/IAICanvasImage.tsx b/invokeai/frontend/web/src/features/canvas/components/IAICanvasImage.tsx index 8229f8552f..b8757eff0c 100644 --- a/invokeai/frontend/web/src/features/canvas/components/IAICanvasImage.tsx +++ b/invokeai/frontend/web/src/features/canvas/components/IAICanvasImage.tsx @@ -8,7 +8,7 @@ type IAICanvasImageProps = { }; const IAICanvasImage = (props: IAICanvasImageProps) => { const { url, x, y } = props; - const [image] = useImage(url); + const [image] = useImage(url, 'anonymous'); return ; }; diff --git a/invokeai/frontend/web/src/features/gallery/components/CurrentImageButtons.tsx b/invokeai/frontend/web/src/features/gallery/components/CurrentImageButtons.tsx index 8193dbe1ce..f7932db0c4 100644 --- a/invokeai/frontend/web/src/features/gallery/components/CurrentImageButtons.tsx +++ b/invokeai/frontend/web/src/features/gallery/components/CurrentImageButtons.tsx @@ -65,6 +65,7 @@ import UpscaleSettings from 'features/parameters/components/Parameters/Upscale/U import { allParametersSet } from 'features/parameters/store/generationSlice'; import DeleteImageButton from './ImageActionButtons/DeleteImageButton'; import { useAppToaster } from 'app/components/Toaster'; +import { setInitialCanvasImage } from 'features/canvas/store/canvasSlice'; const currentImageButtonsSelector = createSelector( [ @@ -335,7 +336,7 @@ const CurrentImageButtons = (props: CurrentImageButtonsProps) => { dispatch(sentImageToCanvas()); if (isLightboxOpen) dispatch(setIsLightboxOpen(false)); - // dispatch(setInitialCanvasImage(selectedImage)); + dispatch(setInitialCanvasImage(image)); dispatch(requestCanvasRescale()); if (activeTabName !== 'unifiedCanvas') {