mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
feat(ui): wip img2img layouting
This commit is contained in:
@@ -29,6 +29,8 @@ import { MdCancel, MdCancelScheduleSend } from 'react-icons/md';
|
||||
|
||||
import { sessionCanceled } from 'services/thunks/session';
|
||||
import { BiChevronDown } from 'react-icons/bi';
|
||||
import { FaChevronDown } from 'react-icons/fa';
|
||||
import { ChevronDownIcon } from '@chakra-ui/icons';
|
||||
|
||||
const cancelButtonSelector = createSelector(
|
||||
systemSelector,
|
||||
@@ -135,13 +137,12 @@ const CancelButton = (
|
||||
colorScheme="error"
|
||||
{...rest}
|
||||
/>
|
||||
|
||||
<Menu closeOnSelect={false}>
|
||||
<MenuButton
|
||||
as={IAIIconButton}
|
||||
tooltip={t('parameters.cancel.setType')}
|
||||
aria-label={t('parameters.cancel.setType')}
|
||||
icon={<BiChevronDown />}
|
||||
icon={<ChevronDownIcon w="1em" h="1em" />}
|
||||
paddingX={0}
|
||||
paddingY={0}
|
||||
colorScheme="error"
|
||||
|
||||
@@ -4,6 +4,8 @@ import { activeTabNameSelector } from 'features/ui/store/uiSelectors';
|
||||
import CancelButton from './CancelButton';
|
||||
import InvokeButton from './InvokeButton';
|
||||
import LoopbackButton from './Loopback';
|
||||
import IAICheckbox from 'common/components/IAICheckbox';
|
||||
import IAISwitch from 'common/components/IAISwitch';
|
||||
|
||||
/**
|
||||
* Buttons to start and cancel image generation.
|
||||
|
||||
Reference in New Issue
Block a user