From f40ffacfbd5e299d1723430bca707baf044ad4cc Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Fri, 25 Oct 2024 13:27:18 +0200 Subject: [PATCH 1/2] :bug: Fix problem with imports --- frontend/src/app/worker/import/parser.cljs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/src/app/worker/import/parser.cljs b/frontend/src/app/worker/import/parser.cljs index 861e4540fe..7d481518d1 100644 --- a/frontend/src/app/worker/import/parser.cljs +++ b/frontend/src/app/worker/import/parser.cljs @@ -8,7 +8,6 @@ (:require [app.common.colors :as cc] [app.common.data :as d] - [app.common.data.macros :as dm] [app.common.geom.matrix :as gmt] [app.common.geom.point :as gpt] [app.common.svg.path :as svg.path] @@ -236,11 +235,10 @@ (= type :frame) (let [;; Old .penpot files doesn't have "g" nodes. They have a clipPath reference as a node attribute - to-url #(dm/str "url(#" % ")") frame-clip-rect-node (->> (find-all-nodes node :defs) (mapcat #(find-all-nodes % :clipPath)) - (filter #(= (to-url (:id (:attrs %))) (:clip-path node-attrs))) (mapcat #(find-all-nodes % #{:rect :path})) + (filter #(contains? (:attrs %) :width)) (first)) ;; The nodes with the "frame-background" class can have some anidation depending on the strokes they have From f96da090d654c47048271dd3f11eb17213ef272e Mon Sep 17 00:00:00 2001 From: Yamila Moreno Date: Mon, 28 Oct 2024 10:05:35 +0100 Subject: [PATCH 2/2] :paperclip: Fix readme badges --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 848b3efd18..13396ec5ee 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,12 @@ penpot header image -

License: MPL-2.0 -Gitter -Managed with Taiga.io -Gitpod ready-to-code

+

+License: MPL-2.0 +Gitter +Managed with Taiga.io +Gitpod ready-to-code +

Website