decreaseReference

fun decreaseReference(block: ElementType)

Decreases the number of references to the given element. If the reference becomes <= 0, the element is removed from this palette, and its reference becomes 0.

Throws

if the element was not referenced or was not in this palette