mirror of
				https://github.com/excalidraw/excalidraw.git
				synced 2025-11-04 12:54:23 +01:00 
			
		
		
		
	Fix adding incorrect dragging element when handleCanvasPointerD… (#1017)
This commit is contained in:
		@@ -1626,7 +1626,7 @@ export class App extends React.Component<any, AppState> {
 | 
			
		||||
      if (element.type === "selection") {
 | 
			
		||||
        this.setState({
 | 
			
		||||
          selectionElement: element,
 | 
			
		||||
          draggingElement: element,
 | 
			
		||||
          draggingElement: hitElement ? hitElement : element,
 | 
			
		||||
        });
 | 
			
		||||
      } else {
 | 
			
		||||
        globalSceneState.replaceAllElements([
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user