mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Merge branch 'main' into feat/taesd
This commit is contained in:
commit
3c44a74ba5
@ -1,3 +1,4 @@
|
|||||||
|
import { Box } from '@chakra-ui/react';
|
||||||
import { createSelector } from '@reduxjs/toolkit';
|
import { createSelector } from '@reduxjs/toolkit';
|
||||||
import { stateSelector } from 'app/store/store';
|
import { stateSelector } from 'app/store/store';
|
||||||
import { useAppDispatch, useAppSelector } from 'app/store/storeHooks';
|
import { useAppDispatch, useAppSelector } from 'app/store/storeHooks';
|
||||||
@ -26,16 +27,15 @@ const ParamControlNetFeatureToggle = () => {
|
|||||||
}, [dispatch]);
|
}, [dispatch]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<IAIInformationalPopover details="controlNetToggle">
|
<Box width="100%">
|
||||||
<IAISwitch
|
<IAIInformationalPopover details="controlNetToggle">
|
||||||
label="Enable ControlNet"
|
<IAISwitch
|
||||||
isChecked={isEnabled}
|
label="Enable ControlNet"
|
||||||
onChange={handleChange}
|
isChecked={isEnabled}
|
||||||
formControlProps={{
|
onChange={handleChange}
|
||||||
width: '100%',
|
/>
|
||||||
}}
|
</IAIInformationalPopover>
|
||||||
/>
|
</Box>
|
||||||
</IAIInformationalPopover>
|
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user