From 12a2da7c56df4b22ad07a018eb147f538c83872b Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 3 Feb 2016 19:20:40 +0200 Subject: [PATCH] Fix stroke and color change bug. --- src/uxbox/data/workspace.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uxbox/data/workspace.cljs b/src/uxbox/data/workspace.cljs index 1620f23fd6..ad809961c5 100644 --- a/src/uxbox/data/workspace.cljs +++ b/src/uxbox/data/workspace.cljs @@ -229,7 +229,7 @@ (-apply-update [_ state] (update-in state [:shapes-by-id sid] merge - {:stroke-type type} + (when type {:stroke-type type}) (when width {:stroke-width width}) (when color {:stroke color}) (when opacity {:stroke-opacity opacity})))))