Refactor DashboardEditor to improve block and element handling, including backend updates and drag-and-drop functionality. Adjust minimum block size constraints and enhance asset visibility checks in the asset group store. Update socket initialization to streamline project connections. Modify styles for element dropdown transitions.
This commit is contained in:
@@ -30,7 +30,6 @@ export const handleBlockDragStart = (
|
||||
setDraggingBlock: (blockId: string | null) => void,
|
||||
setBlockDragOffset: (offset: Position) => void // Change to specific offset
|
||||
): void => {
|
||||
console.log("Block drag start:", blockId);
|
||||
setDraggingBlock(blockId);
|
||||
const element = event.currentTarget as HTMLElement;
|
||||
const rect = element.getBoundingClientRect();
|
||||
|
||||
Reference in New Issue
Block a user