mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(ui): tweak board tooltip behaviour
This commit is contained in:
parent
38622b0d91
commit
146e3a3377
@ -118,6 +118,8 @@ const GalleryBoard = ({ board, isSelected, setBoardToDelete }: GalleryBoardProps
|
|||||||
<Tooltip
|
<Tooltip
|
||||||
label={<BoardTotalsTooltip board_id={board.board_id} isArchived={Boolean(board.archived)} />}
|
label={<BoardTotalsTooltip board_id={board.board_id} isArchived={Boolean(board.archived)} />}
|
||||||
openDelay={1000}
|
openDelay={1000}
|
||||||
|
placement="left"
|
||||||
|
closeOnScroll
|
||||||
>
|
>
|
||||||
<Flex
|
<Flex
|
||||||
position="relative"
|
position="relative"
|
||||||
|
@ -59,7 +59,12 @@ const NoBoardBoard = memo(({ isSelected }: Props) => {
|
|||||||
return (
|
return (
|
||||||
<NoBoardBoardContextMenu>
|
<NoBoardBoardContextMenu>
|
||||||
{(ref) => (
|
{(ref) => (
|
||||||
<Tooltip label={<BoardTotalsTooltip board_id="none" isArchived={false} />} openDelay={1000}>
|
<Tooltip
|
||||||
|
label={<BoardTotalsTooltip board_id="none" isArchived={false} />}
|
||||||
|
openDelay={1000}
|
||||||
|
placement="left"
|
||||||
|
closeOnScroll
|
||||||
|
>
|
||||||
<Flex
|
<Flex
|
||||||
position="relative"
|
position="relative"
|
||||||
ref={ref}
|
ref={ref}
|
||||||
|
Loading…
Reference in New Issue
Block a user