🐛 Fix naming of duplicated objects in copy&paste and others

This commit is contained in:
Andrés Moya 2021-08-12 16:43:32 +02:00 committed by Andrey Antukh
parent 58f0ad999c
commit a377c602cc
5 changed files with 16 additions and 18 deletions

View file

@ -80,7 +80,7 @@
:obj shape}]))))
(defn group-shapes
([state label ids] (group-shapes state label ids "Group"))
([state label ids] (group-shapes state label ids "Group-1"))
([state label ids prefix]
(let [page (current-page state)
shapes (dwg/shapes-for-grouping (:objects page) ids)]