mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +00:00
Merge pull request #2650 from ryanbreen/comment-move-fix
🐛 Fix moving comment threads
This commit is contained in:
commit
28f1e671cb
@ -123,10 +123,10 @@
|
||||
page-id (:id page)
|
||||
objects (wsh/lookup-page-objects state page-id)
|
||||
new-frame-id (if (nil? frame-id)
|
||||
(ctst/frame-id-by-position objects {:x new-x :y new-y})
|
||||
(ctst/frame-id-by-position objects (gpt/point new-x new-y))
|
||||
(:frame-id thread))
|
||||
thread (assoc thread
|
||||
:position {:x new-x :y new-y}
|
||||
:position (gpt/point new-x new-y)
|
||||
:frame-id new-frame-id)
|
||||
|
||||
changes
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user