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

This commit is contained in:
DD Liu 2020-08-08 02:19:56 -04:00
parent 92ec567887
commit 4ec6bcae99

View file

@ -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