[WebUI] Loopback Default False

This commit is contained in:
blessedcoolant 2022-11-01 08:35:45 +13:00 committed by Lincoln Stein
parent 7159ec885f
commit d67db2bcf1
13 changed files with 1569 additions and 1580 deletions

501
frontend/dist/assets/index.044a626e.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>InvokeAI - A Stable Diffusion Toolkit</title> <title>InvokeAI - A Stable Diffusion Toolkit</title>
<link rel="shortcut icon" type="icon" href="./assets/favicon.0d253ced.ico" /> <link rel="shortcut icon" type="icon" href="./assets/favicon.0d253ced.ico" />
<script type="module" crossorigin src="./assets/index.d3820055.js"></script> <script type="module" crossorigin src="./assets/index.044a626e.js"></script>
<link rel="stylesheet" href="./assets/index.52c8231e.css"> <link rel="stylesheet" href="./assets/index.52c8231e.css">
</head> </head>

View File

@ -15,8 +15,6 @@ import {
addLogEntry, addLogEntry,
errorOccurred, errorOccurred,
modelChangeRequested, modelChangeRequested,
setCurrentStatus,
setIsCancelable,
setIsProcessing, setIsProcessing,
} from '../../features/system/systemSlice'; } from '../../features/system/systemSlice';
import { inpaintingImageElementRef } from '../../features/tabs/Inpainting/InpaintingCanvas'; import { inpaintingImageElementRef } from '../../features/tabs/Inpainting/InpaintingCanvas';

View File

@ -26,7 +26,6 @@ import { useHotkeys } from 'react-hotkeys-hook';
import { useToast } from '@chakra-ui/react'; import { useToast } from '@chakra-ui/react';
import { FaCopy, FaPaintBrush, FaSeedling } from 'react-icons/fa'; import { FaCopy, FaPaintBrush, FaSeedling } from 'react-icons/fa';
import { setImageToInpaint } from '../tabs/Inpainting/inpaintingSlice'; import { setImageToInpaint } from '../tabs/Inpainting/inpaintingSlice';
import { hoverableImageSelector } from './gallerySliceSelectors';
import { GalleryState } from './gallerySlice'; import { GalleryState } from './gallerySlice';
import { activeTabNameSelector } from '../options/optionsSelectors'; import { activeTabNameSelector } from '../options/optionsSelectors';

View File

@ -43,12 +43,8 @@ export default function CurrentImagePreview(props: CurrentImagePreviewProps) {
const { imageToDisplay } = props; const { imageToDisplay } = props;
const dispatch = useAppDispatch(); const dispatch = useAppDispatch();
const { const { isOnFirstImage, isOnLastImage, shouldShowImageDetails } =
isOnFirstImage, useAppSelector(imagesSelector);
isOnLastImage,
currentCategory,
shouldShowImageDetails,
} = useAppSelector(imagesSelector);
const [shouldShowNextPrevButtons, setShouldShowNextPrevButtons] = const [shouldShowNextPrevButtons, setShouldShowNextPrevButtons] =
useState<boolean>(false); useState<boolean>(false);

View File

@ -1,10 +1,10 @@
import { Button } from '@chakra-ui/button'; import { Button } from '@chakra-ui/button';
import { NumberSize, Resizable, Size } from 're-resizable'; import { NumberSize, Resizable } from 're-resizable';
import { ChangeEvent, useEffect, useRef, useState } from 'react'; import { ChangeEvent, useEffect, useRef, useState } from 'react';
import { useHotkeys } from 'react-hotkeys-hook'; import { useHotkeys } from 'react-hotkeys-hook';
import { MdClear, MdPhotoLibrary } from 'react-icons/md'; import { MdPhotoLibrary } from 'react-icons/md';
import { BsPin, BsPinAngle, BsPinAngleFill } from 'react-icons/bs'; import { BsPinAngle, BsPinAngleFill } from 'react-icons/bs';
import { requestImages } from '../../app/socketio/actions'; import { requestImages } from '../../app/socketio/actions';
import { useAppDispatch, useAppSelector } from '../../app/store'; import { useAppDispatch, useAppSelector } from '../../app/store';
import IAIIconButton from '../../common/components/IAIIconButton'; import IAIIconButton from '../../common/components/IAIIconButton';

View File

@ -1,4 +1,3 @@
import { Checkbox } from '@chakra-ui/react';
import React, { ChangeEvent } from 'react'; import React, { ChangeEvent } from 'react';
import { RootState, useAppDispatch, useAppSelector } from '../../../app/store'; import { RootState, useAppDispatch, useAppSelector } from '../../../app/store';
import IAICheckbox from '../../../common/components/IAICheckbox'; import IAICheckbox from '../../../common/components/IAICheckbox';

View File

@ -84,7 +84,7 @@ const initialOptionsState: OptionsState = {
shouldPinOptionsPanel: true, shouldPinOptionsPanel: true,
optionsPanelScrollPosition: 0, optionsPanelScrollPosition: 0,
shouldHoldOptionsPanelOpen: false, shouldHoldOptionsPanelOpen: false,
shouldLoopback: true, shouldLoopback: false,
}; };
const initialState: OptionsState = initialOptionsState; const initialState: OptionsState = initialOptionsState;

View File

@ -2,7 +2,7 @@ import { IconButton, Tooltip } from '@chakra-ui/react';
import { useAppDispatch, useAppSelector } from '../../app/store'; import { useAppDispatch, useAppSelector } from '../../app/store';
import { RootState } from '../../app/store'; import { RootState } from '../../app/store';
import { errorSeen, setShouldShowLogViewer, SystemState } from './systemSlice'; import { errorSeen, setShouldShowLogViewer, SystemState } from './systemSlice';
import { UIEvent, useLayoutEffect, useRef, useState } from 'react'; import { useLayoutEffect, useRef, useState } from 'react';
import { FaAngleDoubleDown, FaCode, FaMinus } from 'react-icons/fa'; import { FaAngleDoubleDown, FaCode, FaMinus } from 'react-icons/fa';
import { createSelector } from '@reduxjs/toolkit'; import { createSelector } from '@reduxjs/toolkit';
import { isEqual } from 'lodash'; import { isEqual } from 'lodash';

View File

@ -1,4 +1,4 @@
import { useEffect, useLayoutEffect, useState } from 'react'; import { useEffect, useLayoutEffect } from 'react';
import { RootState, useAppSelector } from '../../../../app/store'; import { RootState, useAppSelector } from '../../../../app/store';
import { maskLayerRef } from '../InpaintingCanvas'; import { maskLayerRef } from '../InpaintingCanvas';

View File

@ -1,6 +1,6 @@
import { createSlice } from '@reduxjs/toolkit'; import { createSlice } from '@reduxjs/toolkit';
import type { PayloadAction } from '@reduxjs/toolkit'; import type { PayloadAction } from '@reduxjs/toolkit';
import { IRect, Vector2d } from 'konva/lib/types'; import { Vector2d } from 'konva/lib/types';
import { RgbaColor } from 'react-colorful'; import { RgbaColor } from 'react-colorful';
import * as InvokeAI from '../../../app/invokeai'; import * as InvokeAI from '../../../app/invokeai';
import _ from 'lodash'; import _ from 'lodash';

File diff suppressed because it is too large Load Diff