mirror of
https://github.com/badlogic/heissepreise.git
synced 2024-09-22 00:00:59 +02:00
Lower items list batch size for faster rendering.
This commit is contained in:
parent
f315d03829
commit
ae470972b0
|
@ -420,7 +420,7 @@ class ItemsList extends View {
|
||||||
const batches = [];
|
const batches = [];
|
||||||
let batch = [];
|
let batch = [];
|
||||||
items.forEach((item) => {
|
items.forEach((item) => {
|
||||||
if (batch.length == 100) {
|
if (batch.length == 25) {
|
||||||
batches.push(batch);
|
batches.push(batch);
|
||||||
batch = [];
|
batch = [];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user