From 4ec6bcae99c884a3e8fe8262028b9d5ea5a3d230 Mon Sep 17 00:00:00 2001 From: DD Liu Date: Sat, 8 Aug 2020 02:19:56 -0400 Subject: [PATCH] Don't report the gradient type as solid when it's a transparent to transparent gradient, because then switching to a gradient doesn't add a stroke width as expected --- src/helper/style-path.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/helper/style-path.js b/src/helper/style-path.js index a1a589ff..3dd83f37 100644 --- a/src/helper/style-path.js +++ b/src/helper/style-path.js @@ -468,7 +468,6 @@ const getColorsFromSelection = function (selectedItems, bitmapMode) { // If the item's stroke width is 0, pretend the stroke color is null if (!item.strokeWidth) { strokeColorString = null; - strokeGradientType = GradientTypes.SOLID; } // Stroke color is fill color in bitmap