fix spam re-order

This commit is contained in:
KingKDot
2026-03-17 00:42:57 -05:00
parent 1e45d62502
commit de59664baf
6 changed files with 28 additions and 39 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ export function registerRenderer(fn) {
}
export async function loadWithOptions(options = {}) {
const { force = false } = options;
const { force = false, reorder = false } = options;
if (state.isLoading) {
state.pendingForce = state.pendingForce || force;
return;
@@ -38,7 +38,7 @@ export async function loadWithOptions(options = {}) {
return;
}
state.lastDigest = digest;
render(data);
render(data, { reorder });
if (!state.thumbnailsRequested) {
state.thumbnailsRequested = true;