add layerMover class

This commit is contained in:
jrkb 2023-05-09 19:40:34 +02:00
parent 398b67ab61
commit a65c275162

View file

@ -156,7 +156,11 @@ const BaseItem: React.FC<{
/* @ts-ignore */
{'--depth': depth}
}
className={collapsed ? 'collapsed' : ''}
className={
collapsed
? `collapsed layerMover layerMover${label}`
: `layerMover layerMover${label}`
}
>
<Header className={selectionStatus} onClick={select ?? noop} data-header>
<Head_IconContainer>