Debounce applyWorldDialogInstances

This commit is contained in:
Natsumi
2026-03-01 20:06:26 +11:00
committed by pa
parent c8e3dc8a6e
commit a9d465017b
+5
View File
@@ -8,6 +8,7 @@ import {
compareByDisplayName, compareByDisplayName,
compareById, compareById,
compareByLocationAt, compareByLocationAt,
debounce,
displayLocation, displayLocation,
getAvailablePlatforms, getAvailablePlatforms,
getBundleDateSize, getBundleDateSize,
@@ -734,6 +735,10 @@ export const useInstanceStore = defineStore('Instance', () => {
} }
function applyWorldDialogInstances() { function applyWorldDialogInstances() {
debounce(applyWorldDialogInstancesDebounced, 100)();
}
function applyWorldDialogInstancesDebounced() {
let ref; let ref;
let instance; let instance;
const D = worldStore.worldDialog; const D = worldStore.worldDialog;