Removed minimize transition to fix handle position

This commit is contained in:
Lucas Oliveira 2023-12-08 16:57:56 -03:00
commit f83a8568a0
2 changed files with 2 additions and 5 deletions

View file

@ -150,10 +150,7 @@ export default function GenericNode({
<div
className={classNames(
selected ? "border border-ring" : "border",
" transition-transform ",
showNode
? " w-96 scale-100 transform rounded-lg duration-500 ease-in-out "
: " transform-width w-26 h-26 scale-90 transform rounded-full duration-500 ",
showNode ? " w-96 rounded-lg" : " w-26 h-26 rounded-full",
"generic-node-div"
)}
>

View file

@ -86,7 +86,7 @@ export default function NodeToolbarComponent({
break;
case "show":
takeSnapshot();
setShowNode(data.showNode ? false : true);
setShowNode(data.showNode ?? true ? false : true);
updateNodeInternals(data.id);
break;
case "Download":