From 85f8e77928c87359c3e263e19cbd750c9ede5a6a Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Wed, 6 Oct 2021 14:49:00 +0200 Subject: [PATCH] :bug: Fix residual stroke on imported svg --- CHANGES.md | 1 + .../src/app/main/ui/workspace/sidebar/options/menus/stroke.cljs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 37bbb5cd39..c22022051a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -17,6 +17,7 @@ - Fix problem with text margin while rendering [#1231](https://github.com/penpot/penpot/issues/1231) - Fix problem with masked texts on exporting [Taiga #2116](https://tree.taiga.io/project/penpot/issue/2116) - Fix text editor enter behaviour with centered texts [Taiga #2126](https://tree.taiga.io/project/penpot/issue/2126) +- Fix residual stroke on imported svg [Taiga #2125](https://tree.taiga.io/project/penpot/issue/2125) ### :arrow_up: Deps updates ### :boom: Breaking changes diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/menus/stroke.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/menus/stroke.cljs index c5cfbb6cb7..32e592395c 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/menus/stroke.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/menus/stroke.cljs @@ -73,7 +73,7 @@ :group (tr "workspace.options.group-stroke") (tr "workspace.options.stroke")) - show-options (not= (:stroke-style values :none) :none) + show-options (not= (or (:stroke-style values) :none) :none) show-caps (and show-caps (not (#{:inner :outer} (:stroke-alignment values))))