fix last issue

This commit is contained in:
Henry Jameson 2020-03-06 21:39:17 +02:00
parent 7aa5bf0896
commit 550080bd82

View File

@ -384,6 +384,9 @@ export const getColors = (sourceColors, sourceOpacity) => SLOT_ORDERED.reduce(({
: (OPACITIES[opacitySlot] || {}).defaultValue
)
}
if (Number.isNaN(outputColor.a)) {
outputColor.a = 1
}
}
}