Refine change set
This commit is contained in:
@@ -39,5 +39,5 @@ def set_node_coord(name: str, node_type: str, id: str, x: float, y: float) -> Ch
|
||||
add_operation(name, redo, undo)
|
||||
|
||||
change = ChangeSet()
|
||||
change.update(node_type, id, 'coord', 'point', str({'x': x, 'y': y}))
|
||||
change.update(node_type, id, 'coord')
|
||||
return change
|
||||
|
||||
Reference in New Issue
Block a user