mirror of
https://github.com/penpot/penpot.git
synced 2026-08-01 10:56:20 +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)
|
page-id (:id page)
|
||||||
objects (wsh/lookup-page-objects state page-id)
|
objects (wsh/lookup-page-objects state page-id)
|
||||||
new-frame-id (if (nil? frame-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))
|
(:frame-id thread))
|
||||||
thread (assoc thread
|
thread (assoc thread
|
||||||
:position {:x new-x :y new-y}
|
:position (gpt/point new-x new-y)
|
||||||
:frame-id new-frame-id)
|
:frame-id new-frame-id)
|
||||||
|
|
||||||
changes
|
changes
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user