Updated the renderer V2

This commit is contained in:
duckietm
2024-04-25 11:35:50 +02:00
parent 95bc0045ec
commit d5a3a05c40
20 changed files with 166 additions and 250 deletions
+3 -1
View File
@@ -6,7 +6,9 @@ export const PrepareRenderer = async (options: Partial<AutoDetectOptions>): Prom
{
renderer = await autoDetectRenderer(options);
renderer.events?.destroy();
return renderer;
}
};
export const GetRenderer = () => renderer;