From 4b0c9c10046776a0d71a61a866ffe44d3188275b Mon Sep 17 00:00:00 2001 From: istarkov Date: Mon, 6 Jan 2025 18:43:52 +0000 Subject: [PATCH] Improve conversion --- .../src/components/primitives/numeric-gesture-control.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/design-system/src/components/primitives/numeric-gesture-control.ts b/packages/design-system/src/components/primitives/numeric-gesture-control.ts index d7ba197eab82..22bfdf4a5916 100644 --- a/packages/design-system/src/components/primitives/numeric-gesture-control.ts +++ b/packages/design-system/src/components/primitives/numeric-gesture-control.ts @@ -442,7 +442,7 @@ const requestPointerLock = ( `, "application/xml" - ).documentElement as unknown as SVGElement); + ).documentElement as Element as SVGElement); cursorNode.style.filter = `drop-shadow(${ state.direction === "horizontal" ? "0 1px" : "1px 0"