mirror of
https://github.com/penpot/penpot.git
synced 2026-05-04 23:59:12 +00:00
Merge pull request #2754 from penpot/superalex-fix-move-boards-with-comments
🐛 Fix move boards with comments
This commit is contained in:
commit
74e4273549
@ -162,7 +162,7 @@
|
||||
build-move-event
|
||||
(fn [comment-thread]
|
||||
(let [frame (get objects (:frame-id comment-thread))
|
||||
modifiers (get object-modifiers (:frame-id comment-thread))
|
||||
modifiers (get-in object-modifiers [(:frame-id comment-thread) :modifiers])
|
||||
frame' (gsh/transform-shape frame modifiers)
|
||||
moved (gpt/to-vec (gpt/point (:x frame) (:y frame))
|
||||
(gpt/point (:x frame') (:y frame')))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user