mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(ui): tweak layer list styling to better indicate selectablility
This commit is contained in:
parent
a357a1ac9d
commit
720e16cea6
@ -43,9 +43,8 @@ export const ControlAdapterLayerListItem = memo(({ layerId }: Props) => {
|
|||||||
gap={2}
|
gap={2}
|
||||||
onClickCapture={onClickCapture}
|
onClickCapture={onClickCapture}
|
||||||
bg={isSelected ? 'base.400' : 'base.800'}
|
bg={isSelected ? 'base.400' : 'base.800'}
|
||||||
ps={2}
|
px={2}
|
||||||
borderRadius="base"
|
borderRadius="base"
|
||||||
pe="1px"
|
|
||||||
py="1px"
|
py="1px"
|
||||||
>
|
>
|
||||||
<Flex flexDir="column" gap={4} w="full" bg="base.850" p={3} borderRadius="base">
|
<Flex flexDir="column" gap={4} w="full" bg="base.850" p={3} borderRadius="base">
|
||||||
|
@ -38,15 +38,7 @@ export const IPAdapterLayerListItem = memo(({ layerId }: Props) => {
|
|||||||
dispatch(layerSelected(layerId));
|
dispatch(layerSelected(layerId));
|
||||||
}, [dispatch, layerId]);
|
}, [dispatch, layerId]);
|
||||||
return (
|
return (
|
||||||
<Flex
|
<Flex gap={2} onClickCapture={onClickCapture} bg={isSelected ? 'base.400' : 'base.800'} borderRadius="base" p="1px">
|
||||||
gap={2}
|
|
||||||
onClickCapture={onClickCapture}
|
|
||||||
bg={isSelected ? 'base.400' : 'base.800'}
|
|
||||||
ps={2}
|
|
||||||
borderRadius="base"
|
|
||||||
pe="1px"
|
|
||||||
py="1px"
|
|
||||||
>
|
|
||||||
<Flex flexDir="column" gap={4} w="full" bg="base.850" p={3} borderRadius="base">
|
<Flex flexDir="column" gap={4} w="full" bg="base.850" p={3} borderRadius="base">
|
||||||
<Flex gap={3} alignItems="center">
|
<Flex gap={3} alignItems="center">
|
||||||
<RPLayerVisibilityToggle layerId={layerId} />
|
<RPLayerVisibilityToggle layerId={layerId} />
|
||||||
|
@ -56,9 +56,8 @@ export const MaskedGuidanceLayerListItem = memo(({ layerId }: Props) => {
|
|||||||
gap={2}
|
gap={2}
|
||||||
onClickCapture={onClickCapture}
|
onClickCapture={onClickCapture}
|
||||||
bg={isSelected ? color : 'base.800'}
|
bg={isSelected ? color : 'base.800'}
|
||||||
ps={2}
|
px={2}
|
||||||
borderRadius="base"
|
borderRadius="base"
|
||||||
pe="1px"
|
|
||||||
py="1px"
|
py="1px"
|
||||||
>
|
>
|
||||||
<Flex flexDir="column" w="full" bg="base.850" p={3} gap={3} borderRadius="base">
|
<Flex flexDir="column" w="full" bg="base.850" p={3} gap={3} borderRadius="base">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user