tags on circle entries
This commit is contained in:
@@ -252,9 +252,10 @@
|
||||
(flatten (for name names
|
||||
(CreateTaggedEntry tags name))))
|
||||
|
||||
(defCommand CreateCircleEntry [radius (Number 0 null null)]
|
||||
(defCommand CreateCircleEntry [tags (VarText null) radius (Number 0 null null)]
|
||||
[(archive.createEntry ->e
|
||||
(addComponent archive e Circle (objectWith radius)))])
|
||||
{(addTags archive e tags)
|
||||
(addComponent archive e Circle (objectWith radius))})])
|
||||
|
||||
// TODO use Tag and VarTag arg types for AddTags and RemoveTags
|
||||
(defCommand AddTags [entries (SelectedEntries 1 null)
|
||||
|
Reference in New Issue
Block a user