From 5256a5e83e89c6f1467023a55e2e14a0fbd9f90c Mon Sep 17 00:00:00 2001 From: oscarkilhed Date: Fri, 9 Jan 2026 08:49:59 +0100 Subject: [PATCH] remove dead code --- .../scene/layout-rows/RowsLayoutManagerRenderer.tsx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/public/app/features/dashboard-scene/scene/layout-rows/RowsLayoutManagerRenderer.tsx b/public/app/features/dashboard-scene/scene/layout-rows/RowsLayoutManagerRenderer.tsx index f416a08844a..0b74f45504d 100644 --- a/public/app/features/dashboard-scene/scene/layout-rows/RowsLayoutManagerRenderer.tsx +++ b/public/app/features/dashboard-scene/scene/layout-rows/RowsLayoutManagerRenderer.tsx @@ -38,13 +38,6 @@ export function RowLayoutManagerRenderer({ model }: SceneComponentProps { - // Get current mouse position from the drag update - // Note: hello-pangea/dnd doesn't provide exact mouse position in update, - // so we use a pointer move listener approach instead via the orchestrator - // The orchestrator will handle tab detection through its own pointer tracking - }, []); - const handleDragEnd = useCallback( (result: DropResult) => { // Stop tracking row drag in orchestrator @@ -73,7 +66,6 @@ export function RowLayoutManagerRenderer({ model }: SceneComponentProps model.forceSelectRow(start.draggableId)} - onDragUpdate={handleDragUpdate} onDragEnd={handleDragEnd} >