feature/font-fetching-again #16

Merged
ilia merged 7 commits from feature/font-fetching-again into main 2026-01-15 17:12:37 +00:00
Showing only changes of commit 56e6e450e8 - Show all commits

View File

@@ -14,7 +14,7 @@ export function createVirtualizer(optionsGetter: () => VirtualizerOptions) {
// Only recalculates when item count or measured sizes change.
const offsets = $derived.by(() => {
const count = options.count;
const result = Array.from({ length: count });
const result = Array.from<number>({ length: count });
let accumulated = 0;
for (let i = 0; i < count; i++) {