🐛 Fix paths with no fill

This commit is contained in:
Alejandro Alonso 2022-03-24 15:32:19 +01:00 committed by Andrey Antukh
parent 8b44b4d8f1
commit 1bbcf67396
2 changed files with 5 additions and 3 deletions

View file

@ -374,7 +374,10 @@
(cond-> (obj/merge! props fill-props) (cond-> (obj/merge! props fill-props)
(some? style) (some? style)
(obj/set! "style" style)))))) (obj/set! "style" style)))
:else
props)))
(defn build-stroke-props [position child value render-id] (defn build-stroke-props [position child value render-id]
(let [props (-> (obj/get child "props") (let [props (-> (obj/get child "props")

View file

@ -11,8 +11,7 @@
[app.common.geom.matrix :as gmt] [app.common.geom.matrix :as gmt]
[app.common.geom.point :as gpt] [app.common.geom.point :as gpt]
[app.main.ui.cursors :as cur] [app.main.ui.cursors :as cur]
[app.util.dom :as dom] [app.util.dom :as dom]))
[cuerdas.core :as str]))
(defn- text-corrected-transform (defn- text-corrected-transform
"If we apply a scale directly to the texts it will show deformed so we need to create this "If we apply a scale directly to the texts it will show deformed so we need to create this