Debounce applyWorldDialogInstances

This commit is contained in:
Natsumi
2026-03-01 20:06:26 +11:00
committed by pa
parent c8e3dc8a6e
commit a9d465017b

View File

@@ -8,6 +8,7 @@ import {
compareByDisplayName,
compareById,
compareByLocationAt,
debounce,
displayLocation,
getAvailablePlatforms,
getBundleDateSize,
@@ -734,6 +735,10 @@ export const useInstanceStore = defineStore('Instance', () => {
}
function applyWorldDialogInstances() {
debounce(applyWorldDialogInstancesDebounced, 100)();
}
function applyWorldDialogInstancesDebounced() {
let ref;
let instance;
const D = worldStore.worldDialog;