diff --git a/theatre/studio/src/UIRoot/PointerCapturing.tsx b/theatre/studio/src/UIRoot/PointerCapturing.tsx index dcc0dac..07bdbd5 100644 --- a/theatre/studio/src/UIRoot/PointerCapturing.tsx +++ b/theatre/studio/src/UIRoot/PointerCapturing.tsx @@ -148,7 +148,7 @@ export function usePointerCapturing(forDebugName: string): PointerCapturing { // force release on unmount control.forceRelease() } - }, [forDebugName, pointerCapturingFn]) + }, [control]) return control.capturing }