fmt
This commit is contained in:
parent
ef74c4d115
commit
c0872b0eba
7 changed files with 32 additions and 10 deletions
|
@ -563,6 +563,7 @@ impl ControlsPanel {
|
|||
});
|
||||
|
||||
// Lazy loading to not freeze the main thread
|
||||
// @TODO replace with grouping and/or virtual scroll (https://dev.to/adamklein/build-your-own-virtual-scroll-part-i-11ib)
|
||||
const CHUNK_SIZE: usize = 50;
|
||||
let mut chunked_vars_for_ui: Vec<Vec<VarForUI>> = <_>::default();
|
||||
let mut chunk = Vec::with_capacity(CHUNK_SIZE);
|
||||
|
|
Reference in a new issue