diff --git a/backend/resources/app/onboarding.edn b/backend/resources/app/onboarding.edn index 408835642..98403d054 100644 --- a/backend/resources/app/onboarding.edn +++ b/backend/resources/app/onboarding.edn @@ -22,6 +22,10 @@ :name "Circum Icons pack" :thumbnail-uri "https://penpot.app/images/libraries/cover-circum.jpg" :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" :name "Whiteboarding Kit" :thumbnail-uri "https://penpot.app/images/libraries/cover-whiteboards.jpg" diff --git a/frontend/src/app/main/ui/viewer/interactions.cljs b/frontend/src/app/main/ui/viewer/interactions.cljs index 47bd71143..cbed317ad 100644 --- a/frontend/src/app/main/ui/viewer/interactions.cljs +++ b/frontend/src/app/main/ui/viewer/interactions.cljs @@ -81,7 +81,14 @@ ;; Retrieve frames again with correct modifier 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/frame-offset-ctx) {:value offset} @@ -103,7 +110,7 @@ :fill "none" :style {:width (:width 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/wrap [mf/memo]