mirror of
https://github.com/penpot/penpot.git
synced 2025-05-18 23:36:10 +02:00
🐛 Fix move boards with comments
This commit is contained in:
parent
a7dfda515b
commit
81a95d362c
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@
|
||||||
build-move-event
|
build-move-event
|
||||||
(fn [comment-thread]
|
(fn [comment-thread]
|
||||||
(let [frame (get objects (:frame-id 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)
|
frame' (gsh/transform-shape frame modifiers)
|
||||||
moved (gpt/to-vec (gpt/point (:x frame) (:y frame))
|
moved (gpt/to-vec (gpt/point (:x frame) (:y frame))
|
||||||
(gpt/point (:x frame') (:y frame')))
|
(gpt/point (:x frame') (:y frame')))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue