diff --git a/src/app/client/client-view.tsx b/src/app/client/client-view.tsx index 1ff07aac..2a92fd42 100644 --- a/src/app/client/client-view.tsx +++ b/src/app/client/client-view.tsx @@ -295,8 +295,8 @@ export function ClientView({ ref={toolbarRef} className="fixed z-[9999] rounded-2xl shadow-2xl px-1.5 py-1.5 select-none backdrop-blur-2xl" style={{ - top: pos.top, - left: pos.left, + top: pos?.top ?? 8, + left: pos?.left ?? 8, transition: snapTween ? "top 0.18s ease-out, left 0.18s ease-out" : undefined, @@ -540,7 +540,7 @@ export function ClientView({ ) : null} - {barHidden && pos ? ( + {barHidden ? (