recompute

fun recompute()

Recalculate and publish the current visibility state