Bump renderer version

This commit is contained in:
Bill 2022-11-15 23:06:35 -05:00
parent 5e3483645d
commit de2199bf44
3 changed files with 17 additions and 18 deletions

View File

@ -16,7 +16,7 @@
"@fortawesome/fontawesome-svg-core": "^6.1.1", "@fortawesome/fontawesome-svg-core": "^6.1.1",
"@fortawesome/free-solid-svg-icons": "^6.1.1", "@fortawesome/free-solid-svg-icons": "^6.1.1",
"@fortawesome/react-fontawesome": "^0.2.0", "@fortawesome/react-fontawesome": "^0.2.0",
"@nitrots/nitro-renderer": "^1.4.7", "@nitrots/nitro-renderer": "^1.4.8",
"@tanstack/react-virtual": "^3.0.0-beta.18", "@tanstack/react-virtual": "^3.0.0-beta.18",
"animate.css": "^4.1.1", "animate.css": "^4.1.1",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",

View File

@ -24,7 +24,7 @@ export const App: FC<{}> = props =>
Nitro.bootstrap(); Nitro.bootstrap();
} }
const handler = useCallback((event: NitroEvent) => const handler = useCallback(async (event: NitroEvent) =>
{ {
switch(event.type) switch(event.type)
{ {
@ -82,20 +82,19 @@ export const App: FC<{}> = props =>
if(assetUrls && assetUrls.length) for(const url of assetUrls) urls.push(NitroConfiguration.interpolate(url)); if(assetUrls && assetUrls.length) for(const url of assetUrls) urls.push(NitroConfiguration.interpolate(url));
GetAssetManager().downloadAssets(urls, (status: boolean) => const status = await GetAssetManager().downloadAssets(urls);
if(status)
{ {
if(status) GetCommunication().init();
{
GetCommunication().init();
setPercent(prevValue => (prevValue + 20)) setPercent(prevValue => (prevValue + 20))
} }
else else
{ {
setIsError(true); setIsError(true);
setMessage('Assets Failed'); setMessage('Assets Failed');
} }
});
return; return;
} }
} }

View File

@ -1484,10 +1484,10 @@
"@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/resolve-uri" "^3.0.3"
"@jridgewell/sourcemap-codec" "^1.4.10" "@jridgewell/sourcemap-codec" "^1.4.10"
"@nitrots/nitro-renderer@^1.4.7": "@nitrots/nitro-renderer@^1.4.8":
version "1.4.7" version "1.4.8"
resolved "https://registry.yarnpkg.com/@nitrots/nitro-renderer/-/nitro-renderer-1.4.7.tgz#1332c90bebe1d83827f7a7d57dc23f08a29ac004" resolved "https://registry.yarnpkg.com/@nitrots/nitro-renderer/-/nitro-renderer-1.4.8.tgz#f88bd034036396b2f303218c2343ce0afe1106f5"
integrity sha512-704o6DDxhb3ug+zsBBmwdaATI/lhGNu/xMtdepMEZrPBkP/cFu0s5ofEsL1rkRJ0M6ceuTt+lCUsKgUXHxGWgg== integrity sha512-5MAdomgBEt4/RYFWtYm4xhNjOZjlZikdppLusKb4rJYUUl6ZhHxSCdTe2IiyxrDFM2Q19Okub0FzIsOaYEei8A==
dependencies: dependencies:
"@pixi/app" "~6.4.2" "@pixi/app" "~6.4.2"
"@pixi/basis" "~6.4.2" "@pixi/basis" "~6.4.2"