icons wip
This commit is contained in:
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user