mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-28 11:13:49 +02:00
Fix custom.js execution order
This commit is contained in:
@@ -3,7 +3,6 @@ import {
|
||||
changeAppThemeStyle,
|
||||
getThemeMode,
|
||||
refreshCustomCss,
|
||||
refreshCustomScript,
|
||||
setLoginContainerStyle
|
||||
} from '../shared/utils/base/ui';
|
||||
import { i18n } from './i18n';
|
||||
@@ -29,5 +28,4 @@ export async function initUi() {
|
||||
}
|
||||
|
||||
refreshCustomCss();
|
||||
refreshCustomScript();
|
||||
}
|
||||
|
||||
@@ -9,6 +9,7 @@ import { debounce, parseLocation } from '../shared/utils';
|
||||
import { AppDebug } from '../service/appConfig';
|
||||
import { database } from '../service/database';
|
||||
import { failedGetRequests } from '../service/request';
|
||||
import { refreshCustomScript } from '../shared/utils/base/ui';
|
||||
import { useAdvancedSettingsStore } from './settings/advanced';
|
||||
import { useAvatarProviderStore } from './avatarProvider';
|
||||
import { useAvatarStore } from './avatar';
|
||||
@@ -145,6 +146,8 @@ export const useVrcxStore = defineStore('Vrcx', () => {
|
||||
maxTableSize.value = 1000;
|
||||
}
|
||||
database.setMaxTableSize(maxTableSize.value);
|
||||
|
||||
refreshCustomScript();
|
||||
}
|
||||
|
||||
init();
|
||||
|
||||
Reference in New Issue
Block a user