mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
undo
This commit is contained in:
parent
d45b76fab4
commit
0a4cbc4e16
@ -12,9 +12,6 @@ import { memo, useCallback, useRef } from 'react';
|
|||||||
import type { HotkeyCallback } from 'react-hotkeys-hook';
|
import type { HotkeyCallback } from 'react-hotkeys-hook';
|
||||||
import { useHotkeys } from 'react-hotkeys-hook';
|
import { useHotkeys } from 'react-hotkeys-hook';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import { FaDice } from 'react-icons/fa';
|
|
||||||
import { InvTooltip } from '../../../../common/components/InvTooltip/InvTooltip';
|
|
||||||
import { InvIconButton } from '../../../../common/components/InvIconButton/InvIconButton';
|
|
||||||
|
|
||||||
export const ParamPositivePrompt = memo(() => {
|
export const ParamPositivePrompt = memo(() => {
|
||||||
const dispatch = useAppDispatch();
|
const dispatch = useAppDispatch();
|
||||||
@ -74,18 +71,8 @@ export const ParamPositivePrompt = memo(() => {
|
|||||||
/>
|
/>
|
||||||
<PromptOverlayButtonWrapper>
|
<PromptOverlayButtonWrapper>
|
||||||
<AddEmbeddingButton isOpen={isOpen} onOpen={onOpen} />
|
<AddEmbeddingButton isOpen={isOpen} onOpen={onOpen} />
|
||||||
<SDXLConcatButton />
|
{baseModel === 'sdxl' && <SDXLConcatButton />}
|
||||||
<ShowDynamicPromptsPreviewButton />
|
<ShowDynamicPromptsPreviewButton />
|
||||||
<InvTooltip label={'Shuffle Prompt'}>
|
|
||||||
<InvIconButton
|
|
||||||
size="sm"
|
|
||||||
variant="promptOverlay"
|
|
||||||
// isDisabled={isOpen}
|
|
||||||
aria-label={t('dynamicPrompts.showDynamicPrompts')}
|
|
||||||
icon={<FaDice />}
|
|
||||||
// onClick={onOpen}
|
|
||||||
/>
|
|
||||||
</InvTooltip>
|
|
||||||
</PromptOverlayButtonWrapper>
|
</PromptOverlayButtonWrapper>
|
||||||
</Box>
|
</Box>
|
||||||
</EmbeddingPopover>
|
</EmbeddingPopover>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user