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:
parent
7aa5bf0896
commit
550080bd82
@ -384,6 +384,9 @@ export const getColors = (sourceColors, sourceOpacity) => SLOT_ORDERED.reduce(({
|
||||
: (OPACITIES[opacitySlot] || {}).defaultValue
|
||||
)
|
||||
}
|
||||
if (Number.isNaN(outputColor.a)) {
|
||||
outputColor.a = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user