Fix #3745 - fix somewhat large draggable lists crashing
This commit is contained in:
parent
c527932f6e
commit
d0465cbad5
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ export class DraggableOrderedListComponent {
|
||||||
|
|
||||||
|
|
||||||
get BufferAmount() {
|
get BufferAmount() {
|
||||||
return Math.min(this.items.length / 20, 20);
|
return Math.floor(Math.min(this.items.length / 20, 20));
|
||||||
}
|
}
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue