|
|
@ -84,10 +84,8 @@ export class VirtualGroupList extends Widget { |
|
|
|
o.scrollTop = this.element.scrollTop(); |
|
|
|
o.scrollTop = this.element.scrollTop(); |
|
|
|
if (!this.ticking) { |
|
|
|
if (!this.ticking) { |
|
|
|
requestAnimationFrame(() => { |
|
|
|
requestAnimationFrame(() => { |
|
|
|
const start = new Date().getTime(); |
|
|
|
|
|
|
|
this._calculateBlocksToRender(); |
|
|
|
this._calculateBlocksToRender(); |
|
|
|
this.ticking = false; |
|
|
|
this.ticking = false; |
|
|
|
console.log(new Date().getTime() - start); |
|
|
|
|
|
|
|
}); |
|
|
|
}); |
|
|
|
this.ticking = true; |
|
|
|
this.ticking = true; |
|
|
|
} |
|
|
|
} |
|
|
|