mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): fix mantine select props
This commit is contained in:
parent
705573f0a8
commit
9df502fc77
@ -215,11 +215,10 @@ const IAICanvasToolbar = () => {
|
|||||||
<Box w={24}>
|
<Box w={24}>
|
||||||
<IAIMantineSelect
|
<IAIMantineSelect
|
||||||
tooltip={`${t('unifiedCanvas.layer')} (Q)`}
|
tooltip={`${t('unifiedCanvas.layer')} (Q)`}
|
||||||
tooltipProps={{ hasArrow: true, placement: 'top' }}
|
|
||||||
value={layer}
|
value={layer}
|
||||||
data={LAYER_NAMES_DICT}
|
data={LAYER_NAMES_DICT}
|
||||||
onChange={handleChangeLayer}
|
onChange={handleChangeLayer}
|
||||||
isDisabled={isStaging}
|
disabled={isStaging}
|
||||||
/>
|
/>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
|
@ -61,11 +61,10 @@ export default function UnifiedCanvasLayerSelect() {
|
|||||||
<IAIMantineSelect
|
<IAIMantineSelect
|
||||||
tooltip={`${t('unifiedCanvas.layer')} (Q)`}
|
tooltip={`${t('unifiedCanvas.layer')} (Q)`}
|
||||||
aria-label={`${t('unifiedCanvas.layer')} (Q)`}
|
aria-label={`${t('unifiedCanvas.layer')} (Q)`}
|
||||||
tooltipProps={{ hasArrow: true, placement: 'top' }}
|
|
||||||
value={layer}
|
value={layer}
|
||||||
data={LAYER_NAMES_DICT}
|
data={LAYER_NAMES_DICT}
|
||||||
onChange={handleChangeLayer}
|
onChange={handleChangeLayer}
|
||||||
isDisabled={isStaging}
|
disabled={isStaging}
|
||||||
w="full"
|
w="full"
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user