Fix #3745 - fix somewhat large draggable lists crashing

This commit is contained in:
Amelia 2025-04-18 13:23:14 +02:00
parent c527932f6e
commit d0465cbad5
No known key found for this signature in database
GPG key ID: D6D0ECE365407EAA

View file

@ -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() {