mirror of
				https://github.com/excalidraw/excalidraw.git
				synced 2025-11-04 12:54:23 +01:00 
			
		
		
		
	fix
This commit is contained in:
		@@ -121,8 +121,8 @@ const restoreElementWithProperties = <
 | 
			
		||||
    y: extra.y ?? element.y ?? 0,
 | 
			
		||||
    strokeColor: element.strokeColor || oc.black,
 | 
			
		||||
    backgroundColor: element.backgroundColor || "transparent",
 | 
			
		||||
    width: element.width || 0,
 | 
			
		||||
    height: element.height || 0,
 | 
			
		||||
    width: element.width || 100,
 | 
			
		||||
    height: element.height || 100,
 | 
			
		||||
    seed: element.seed ?? 1,
 | 
			
		||||
    groupIds: element.groupIds ?? [],
 | 
			
		||||
    roundness: element.roundness
 | 
			
		||||
 
 | 
			
		||||
@@ -670,7 +670,6 @@ export const convertToExcalidrawElements = (
 | 
			
		||||
      const elements = bindTextToContainer(element, textElement);
 | 
			
		||||
      res.push(...elements);
 | 
			
		||||
    } else {
 | 
			
		||||
      delete element.children;
 | 
			
		||||
      //@ts-ignore
 | 
			
		||||
      res.push(element);
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user