···168168169169 /// re-order layers. The first layer in the list will be on top, the last at the bottom
170170 pub fn reorder_layers(&mut self, new_order: Vec<&str>) {
171171- println!(
172172- "re-ordering {:?} to {:?}",
173173- self.layers
174174- .iter()
175175- .map(|l| l.name.clone())
176176- .collect::<Vec<_>>(),
177177- new_order
178178- );
179171 let current_order = self
180172 .layers
181173 .iter()