removed unused constant, using getOpacitySlot now

This commit is contained in:
Henry Jameson 2020-01-23 00:36:38 +02:00
parent 7354b6f706
commit 64fc07f080

View file

@ -672,19 +672,6 @@ export const SLOT_ORDERED = topoSort(
.reduce((acc, [k, v]) => ({ ...acc, [k]: v }), {})
)
/**
* Dictionary where keys are color slots and values are opacity associated
* with them
*/
export const SLOTS_OPACITIES_DICT = Object.entries(SLOT_INHERITANCE).reduce((acc, [k, v]) => {
const opacity = getOpacitySlot(k, SLOT_INHERITANCE, getDependencies)
if (opacity) {
return { ...acc, [k]: opacity }
} else {
return acc
}
}, {})
/**
* All opacity slots used in color slots, their default values and affected
* color slots.