mirror of
https://github.com/penpot/penpot.git
synced 2025-05-22 01:46:10 +02:00
✨ Fix shadows and thumbnails
This commit is contained in:
parent
2799c09294
commit
45b690ed05
9 changed files with 47 additions and 34 deletions
|
@ -86,7 +86,7 @@
|
|||
|
||||
(mf/defc viewer-wrapper
|
||||
[{:keys [wrapper-size scroll orig-frame orig-viewport-ref orig-size page file users current-viewport-ref
|
||||
size frame interactions-mode overlays zoom close-overlay section index] :as props}]
|
||||
size frame interactions-mode overlays zoom close-overlay section index children-bounds] :as props}]
|
||||
(let [{clist :list} (mf/deref refs/comments-local)
|
||||
show-comments-list (and (= section :comments) (= :show clist))]
|
||||
[:*
|
||||
|
@ -173,8 +173,6 @@
|
|||
:page page
|
||||
:zoom zoom}])]]]]))
|
||||
|
||||
|
||||
|
||||
(mf/defc viewer
|
||||
[{:keys [params data]}]
|
||||
|
||||
|
@ -407,7 +405,7 @@
|
|||
:file file
|
||||
:section section
|
||||
:local local
|
||||
:size size}
|
||||
:size size
|
||||
:index index
|
||||
:viewer-pagination viewer-pagination}]
|
||||
|
||||
|
@ -428,7 +426,8 @@
|
|||
:overlays overlays
|
||||
:zoom zoom
|
||||
:section section
|
||||
:index index}]))]]]))
|
||||
:index index
|
||||
:children-bounds children-bounds}]))]]]))
|
||||
|
||||
;; --- Component: Viewer Page
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue