remove console log
This commit is contained in:
@@ -235,8 +235,6 @@ export function createStore<NodeType extends Node = Node, EdgeType extends Edge
|
|||||||
const nodeWillBeSelected = ids.includes(node.id);
|
const nodeWillBeSelected = ids.includes(node.id);
|
||||||
const selected = isMultiSelection ? node.selected || nodeWillBeSelected : nodeWillBeSelected;
|
const selected = isMultiSelection ? node.selected || nodeWillBeSelected : nodeWillBeSelected;
|
||||||
|
|
||||||
console.log(selected);
|
|
||||||
|
|
||||||
if (!!node.selected !== selected) {
|
if (!!node.selected !== selected) {
|
||||||
// we need to mutate the node here in order to have the correct selected state in the drag handler
|
// we need to mutate the node here in order to have the correct selected state in the drag handler
|
||||||
const internalNode = store.nodeLookup.get(node.id);
|
const internalNode = store.nodeLookup.get(node.id);
|
||||||
|
|||||||
Reference in New Issue
Block a user