mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-22 21:42:30 -05:00
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:
parent
92ec567887
commit
4ec6bcae99
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue