mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
Debounce applyWorldDialogInstances
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user