From a8ab883c0741f358b30cbe5ed8b4c0373826b238 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Tue, 30 Jan 2024 17:49:07 +0100 Subject: [PATCH] :bug: Use correct default for `r` on parsing svg circle --- common/src/app/common/svg/shapes_builder.cljc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/src/app/common/svg/shapes_builder.cljc b/common/src/app/common/svg/shapes_builder.cljc index 8dbf12999..1796d08a5 100644 --- a/common/src/app/common/svg/shapes_builder.cljc +++ b/common/src/app/common/svg/shapes_builder.cljc @@ -305,6 +305,8 @@ rx (d/nilv r rx) ry (d/nilv r ry) + rx (d/nilv rx 0) + ry (d/nilv ry 0) ;; There are some svg circles in the internet that does not ;; have cx and cy attrs, so we default them to 0