WeightChanged
data class WeightChanged(val path: List<Int>, val names: List<String>, val before: Weight, val after: Weight) : TopologyChange
The node's weight went from before to after. The node keeps its name but restarts its share, rejoining its parent's front: a new weight is a new edge in the ledger.
Constructors
Properties
Link copied to clipboard
the child indices from the root to the node this change concerns; [] only for RootRenamed. Every index is >= 0.
Link copied to clipboard
What LocalHeddle.apply does to fairness history when it lands this change: SaveEffect.LOST for a change that costs a group its history, the one to warn about before saving; SaveEffect.KEPT for one that costs nobody any; and SaveEffect.NEW_TREE for the one apply throws on, which an editor refuses to save rather than warns about.