Styling Updates

- Moved Inpaint Replace higher in the options panel
- Fixed inpaint replace switch getting cut off slightly by padding a bit.
This commit is contained in:
blessedcoolant 2022-10-28 07:40:31 +13:00 committed by psychedelicious
parent 89ad2e55d9
commit 6679e5be69
2 changed files with 14 additions and 8 deletions

View File

@ -55,14 +55,13 @@ export default function InpaintingSettings() {
}; };
return ( return (
<> <>
<BoundingBoxSettings /> <div
<IAIButton style={{
label="Clear Brush History" display: 'flex',
onClick={handleClearBrushHistory} alignItems: 'center',
tooltip="Clears brush stroke history" padding: '0 1rem 0 0.2rem',
disabled={futureLines.length > 0 || pastLines.length > 0 ? false : true} }}
/> >
<div style={{ display: 'flex', alignItems: 'center' }}>
<IAINumberInput <IAINumberInput
label="Inpaint Replace" label="Inpaint Replace"
value={inpaintReplace} value={inpaintReplace}
@ -84,6 +83,13 @@ export default function InpaintingSettings() {
} }
/> />
</div> </div>
<BoundingBoxSettings />
<IAIButton
label="Clear Brush History"
onClick={handleClearBrushHistory}
tooltip="Clears brush stroke history"
disabled={futureLines.length > 0 || pastLines.length > 0 ? false : true}
/>
</> </>
); );
} }