Fix adding incorrect dragging element when handleCanvasPointerD… (#1017)
This commit is contained in:
parent
6b3dee6777
commit
1546c00c0c
@ -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([
|
||||
|
Loading…
x
Reference in New Issue
Block a user