icons wip

This commit is contained in:
ntr
2019-07-23 13:42:23 +10:00
parent e14cf22b2f
commit 5c35c2d195
7 changed files with 70 additions and 67 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ impl Vbox {
};
let dist = WeightedIndex::new(items.iter().map(|item| item.1)).unwrap();
iter::repeat_with(|| {
iter::repeat_with(|| {
items[dist.sample(&mut rng)].0}).take(match item_type {
ItemType::Colours => 6,
_ => 3,