mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
feat(ui): wip img2img ui
This commit is contained in:
@@ -26,6 +26,7 @@ import {
|
||||
} from 'features/system/store/systemSlice';
|
||||
import { useIsApplicationReady } from 'features/system/hooks/useIsApplicationReady';
|
||||
import { ApplicationFeature } from './invokeai';
|
||||
import { useGlobalHotkeys } from 'common/hooks/useGlobalHotkeys';
|
||||
|
||||
keepGUIAlive();
|
||||
|
||||
@@ -40,6 +41,7 @@ interface Props extends PropsWithChildren {
|
||||
|
||||
const App = (props: Props) => {
|
||||
useToastWatcher();
|
||||
useGlobalHotkeys();
|
||||
|
||||
const currentTheme = useAppSelector((state) => state.ui.currentTheme);
|
||||
const disabledFeatures = useAppSelector(
|
||||
|
||||
@@ -14,6 +14,7 @@ import generationReducer from 'features/parameters/store/generationSlice';
|
||||
import postprocessingReducer from 'features/parameters/store/postprocessingSlice';
|
||||
import systemReducer from 'features/system/store/systemSlice';
|
||||
import uiReducer from 'features/ui/store/uiSlice';
|
||||
import hotkeysReducer from 'features/ui/store/hotkeysSlice';
|
||||
import modelsReducer from 'features/system/store/modelSlice';
|
||||
import nodesReducer from 'features/nodes/store/nodesSlice';
|
||||
|
||||
@@ -55,6 +56,7 @@ const rootReducer = combineReducers({
|
||||
system: systemReducer,
|
||||
ui: uiReducer,
|
||||
uploads: uploadsReducer,
|
||||
hotkeys: hotkeysReducer,
|
||||
});
|
||||
|
||||
const rootPersistConfig = getPersistConfig({
|
||||
@@ -75,6 +77,7 @@ const rootPersistConfig = getPersistConfig({
|
||||
...uiBlacklist,
|
||||
// ...uploadsBlacklist,
|
||||
'uploads',
|
||||
'hotkeys',
|
||||
],
|
||||
debounce: 300,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user