Use operation prefix
This commit is contained in:
@@ -116,7 +116,7 @@ def inp_in_label(section: list[str]) -> ChangeSet:
|
||||
if s.startswith(';'):
|
||||
continue
|
||||
obj = InpLabel(s)
|
||||
cs.append({'operation': API_ADD, 'type': 'label', 'x': obj.x, 'y': obj.y, 'label': obj.label, 'node': obj.node})
|
||||
cs.append(g_add_prefix | {'type': 'label', 'x': obj.x, 'y': obj.y, 'label': obj.label, 'node': obj.node})
|
||||
return cs
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user