From 8e2c09226095362b362b100518cbdf618cda92f6 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Thu, 22 Feb 2024 13:30:24 -0600 Subject: [PATCH] rebase to dev --- web/src/pages/UIPlayground.tsx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/web/src/pages/UIPlayground.tsx b/web/src/pages/UIPlayground.tsx index 2b218e5a6..f7bc5da47 100644 --- a/web/src/pages/UIPlayground.tsx +++ b/web/src/pages/UIPlayground.tsx @@ -168,6 +168,12 @@ function UIPlayground() { setZoomSettings(possibleZoomLevels[nextZoomLevel]); } + const [isDragging, setIsDragging] = useState(false); + + const handleDraggingChange = (dragging: boolean) => { + setIsDragging(dragging); + }; + return ( <>
@@ -212,6 +218,9 @@ function UIPlayground() { Timeline

Handlebar timestamp: {handlebarTime}

+

+ Handlebar is dragging: {isDragging ? "yes" : "no"} +