Fix for OutlinePanel
not being scrollable sometimes
Fixes P-179
This commit is contained in:
parent
7f17f985ee
commit
ac9345ddbd
1 changed files with 3 additions and 0 deletions
|
@ -6,10 +6,12 @@ import {useVal} from '@theatre/react'
|
|||
import getStudio from '@theatre/studio/getStudio'
|
||||
import useHotspot from '@theatre/studio/uiComponents/useHotspot'
|
||||
import {Box, prism, val} from '@theatre/dataverse'
|
||||
import {pointerEventsAutoInNormalMode} from '@theatre/studio/css'
|
||||
|
||||
const headerHeight = `44px`
|
||||
|
||||
const Container = styled.div<{pin: boolean}>`
|
||||
${pointerEventsAutoInNormalMode};
|
||||
background-color: transparent;
|
||||
position: absolute;
|
||||
left: 8px;
|
||||
|
@ -62,6 +64,7 @@ const OutlinePanel: React.FC<{}> = () => {
|
|||
|
||||
return (
|
||||
<Container
|
||||
className="cont"
|
||||
pin={pin || show}
|
||||
onMouseEnter={() => {
|
||||
isOutlinePanelHoveredB.set(true)
|
||||
|
|
Loading…
Reference in a new issue