mirror of
https://github.com/penpot/penpot.git
synced 2025-02-11 01:28:30 -05:00
:bug Fix duplicate artboard without whithout guides
This commit is contained in:
parent
dbfa0e7a4b
commit
20badb7676
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