Skip to main content

tear_off_order

Function tear_off_order 

Source
pub(crate) fn tear_off_order(block_id: &str, members: &[String]) -> Vec<String>
Expand description

The blocks a tear-off moves, in the order they move: block_id (the visible tab) first, then the other members in their given order. Empty or without block_id in it, members means just block_id; repeats are dropped.