mirror of
https://github.com/penpot/penpot.git
synced 2025-02-15 11:38:24 -05:00
🐛 Fix comments in viewer mode
This commit is contained in:
parent
37fdf51eaf
commit
afa1af6dc2
1 changed files with 3 additions and 2 deletions
|
@ -144,8 +144,9 @@
|
|||
:key (:seqn item)}]))
|
||||
|
||||
(when-let [id (:open cstate)]
|
||||
(when-let [thread (-> (get threads-map id)
|
||||
(update :position gpt/transform modifier1))]
|
||||
(when-let [thread (as-> (get threads-map id) $
|
||||
(when (some? $)
|
||||
(update $ :position gpt/transform modifier1)))]
|
||||
[:& cmt/thread-comments {:thread thread
|
||||
:users users
|
||||
:zoom zoom}]))
|
||||
|
|
Loading…
Add table
Reference in a new issue