mirror of
https://github.com/penpot/penpot.git
synced 2025-02-06 06:18:32 -05:00
Merge remote-tracking branch 'origin/staging' into develop
This commit is contained in:
commit
879c477ada
2 changed files with 13 additions and 2 deletions
|
@ -22,6 +22,10 @@
|
||||||
:name "Circum Icons pack"
|
:name "Circum Icons pack"
|
||||||
:thumbnail-uri "https://penpot.app/images/libraries/cover-circum.jpg"
|
:thumbnail-uri "https://penpot.app/images/libraries/cover-circum.jpg"
|
||||||
:file-uri "https://github.com/penpot/penpot-files/raw/binary-files/CircumIcons.penpot"}
|
:file-uri "https://github.com/penpot/penpot-files/raw/binary-files/CircumIcons.penpot"}
|
||||||
|
{:id "coreui"
|
||||||
|
:name "CoreUI"
|
||||||
|
:thumbnail-uri "https://penpot.app/images/libraries/cover-coreui.jpg"
|
||||||
|
:file-uri "https://github.com/penpot/penpot-files/raw/main/CoreUI%20DesignSystem%20(DEMO).penpot"}
|
||||||
{:id "whiteboarding-kit"
|
{:id "whiteboarding-kit"
|
||||||
:name "Whiteboarding Kit"
|
:name "Whiteboarding Kit"
|
||||||
:thumbnail-uri "https://penpot.app/images/libraries/cover-whiteboards.jpg"
|
:thumbnail-uri "https://penpot.app/images/libraries/cover-whiteboards.jpg"
|
||||||
|
|
|
@ -81,7 +81,14 @@
|
||||||
|
|
||||||
;; Retrieve frames again with correct modifier
|
;; Retrieve frames again with correct modifier
|
||||||
frame (get objects-not-fixed (:id frame))
|
frame (get objects-not-fixed (:id frame))
|
||||||
base (get objects-not-fixed (:id base))]
|
base (get objects-not-fixed (:id base))
|
||||||
|
|
||||||
|
non-delay-interactions (->> (:interactions frame)
|
||||||
|
(filterv #(not= (:event-type %) :after-delay)))
|
||||||
|
|
||||||
|
fixed-frame (-> frame
|
||||||
|
(dissoc :fills)
|
||||||
|
(assoc :interactions non-delay-interactions))]
|
||||||
|
|
||||||
[:& (mf/provider shapes/base-frame-ctx) {:value base}
|
[:& (mf/provider shapes/base-frame-ctx) {:value base}
|
||||||
[:& (mf/provider shapes/frame-offset-ctx) {:value offset}
|
[:& (mf/provider shapes/frame-offset-ctx) {:value offset}
|
||||||
|
@ -103,7 +110,7 @@
|
||||||
:fill "none"
|
:fill "none"
|
||||||
:style {:width (:width size)
|
:style {:width (:width size)
|
||||||
:height (:height size)}}
|
:height (:height size)}}
|
||||||
[:& wrapper-fixed {:shape (dissoc frame :fills) :view-box vbox}]]]]))
|
[:& wrapper-fixed {:shape fixed-frame :view-box vbox}]]]]))
|
||||||
|
|
||||||
(mf/defc viewport
|
(mf/defc viewport
|
||||||
{::mf/wrap [mf/memo]
|
{::mf/wrap [mf/memo]
|
||||||
|
|
Loading…
Add table
Reference in a new issue