mirror of
https://github.com/penpot/penpot.git
synced 2025-04-06 12:01:19 -05:00
Merge pull request #2650 from ryanbreen/comment-move-fix
🐛 Fix moving comment threads
This commit is contained in:
commit
28f1e671cb
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue