mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(ui): use text cursor for entity title
This commit is contained in:
parent
0556468518
commit
c7913cbbbb
@ -44,7 +44,7 @@ export const CanvasEntityHeader = memo(({ children, ...rest }: FlexProps) => {
|
||||
}
|
||||
|
||||
if (entityIdentifier.type === 'ip_adapter') {
|
||||
return <MenuList>{/* <ControlLayerMenuItems /> */}</MenuList>;
|
||||
return <MenuList>{/* no items for IP adapter yet */}</MenuList>;
|
||||
}
|
||||
|
||||
assert(false, 'Unhandled entity type');
|
||||
@ -53,7 +53,7 @@ export const CanvasEntityHeader = memo(({ children, ...rest }: FlexProps) => {
|
||||
return (
|
||||
<ContextMenu renderMenu={renderMenu}>
|
||||
{(ref) => (
|
||||
<Flex ref={ref} gap={2} alignItems="center" p={2} role="button" {...rest}>
|
||||
<Flex ref={ref} gap={2} alignItems="center" p={2} {...rest} cursor="text">
|
||||
{children}
|
||||
</Flex>
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user