1
0
mirror of https://git.pleroma.social/sjw/pleroma-fe.git synced 2024-11-16 07:47:15 +01:00

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