mirror of
https://github.com/penpot/penpot.git
synced 2025-02-07 06:48:19 -05:00
Merge pull request #1844 from penpot/superalex-fix-duplicate-artobard-without-guides
:bug Fix duplicate artboard without whithout guides
This commit is contained in:
commit
32d61eaf70
1 changed files with 5 additions and 2 deletions
|
@ -421,8 +421,11 @@
|
|||
(assoc :position (if (= (:axis %) :x)
|
||||
(+ (:position %) (- (:x new-frame) (:x frame)))
|
||||
(+ (:position %) (- (:y new-frame) (:y frame))))))))]
|
||||
(conj g
|
||||
(into {} (map (juxt :id identity) new-guides)))))
|
||||
|
||||
(if-not (empty? new-guides)
|
||||
(conj g
|
||||
(into {} (map (juxt :id identity) new-guides)))
|
||||
{})))
|
||||
guides
|
||||
frames)]
|
||||
(-> (pcb/with-page changes page)
|
||||
|
|
Loading…
Add table
Reference in a new issue