diff --git a/theatre/studio/src/uiComponents/PointerEventsHandler.tsx b/theatre/studio/src/uiComponents/PointerEventsHandler.tsx index 4c46b8d..3fe406d 100644 --- a/theatre/studio/src/uiComponents/PointerEventsHandler.tsx +++ b/theatre/studio/src/uiComponents/PointerEventsHandler.tsx @@ -18,13 +18,12 @@ const Container = styled.div` } ` -const CursorOverride = styled.div<{cursor: null | string}>` +const CursorOverride = styled.div` position: absolute; inset: 0; pointer-events: none; #pointer-root:not(.normal) > & { - cursor: ${(props) => props.cursor ?? 'default'}; pointer-events: auto; } ` @@ -55,10 +54,12 @@ const PointerEventsHandler: React.FC<{ } }, []) + console.log(locks[0]?.cursor) + return ( - + {props.children}