mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Add Progress bar under invoke Button
Find on some screens the progress bar at top of screen gets cut off
This commit is contained in:
parent
d66979073b
commit
8ae1eaaccc
@ -12,6 +12,7 @@ import { useCallback } from 'react';
|
||||
import { useHotkeys } from 'react-hotkeys-hook';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { FaPlay } from 'react-icons/fa';
|
||||
import ProgressBar from 'features/system/components/ProgressBar';
|
||||
|
||||
interface InvokeButton
|
||||
extends Omit<IAIButtonProps | IAIIconButtonProps, 'aria-label'> {
|
||||
@ -43,7 +44,7 @@ export default function InvokeButton(props: InvokeButton) {
|
||||
);
|
||||
|
||||
return (
|
||||
<Box style={{ flexGrow: 4 }}>
|
||||
<Box style={{ flexGrow: 4 }} position="relative">
|
||||
{iconButton ? (
|
||||
<IAIIconButton
|
||||
aria-label={t('parameters.invoke')}
|
||||
@ -75,6 +76,7 @@ export default function InvokeButton(props: InvokeButton) {
|
||||
Invoke
|
||||
</IAIButton>
|
||||
)}
|
||||
{!isReady && <ProgressBar />}
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user