[F] Port fix #383 to rust
This commit is contained in:
parent
211beb7b6a
commit
f38b754783
1 changed files with 1 additions and 0 deletions
|
|
@ -831,6 +831,7 @@ fn create_config(
|
|||
let preset_index_permutations: IndexSet<Vec<PresetIndexedColor>> = preset_indices
|
||||
.into_iter()
|
||||
.permutations(slots.len())
|
||||
.take(1000)
|
||||
.collect();
|
||||
let random_count = u16::from(ascii_per_row)
|
||||
.checked_mul(u16::from(ascii_rows))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue