mirror of
https://github.com/SamEyeBam/animate.git
synced 2026-11-17 04:55:40 +00:00
BallOfLife
This commit is contained in:
1 parent
5c8c8e1591
commit
f2ff90d42c
8 files changed
+368
-9
No files matched your search
@@ -25,6 +25,9 @@ engine.setScene(scene);
|
||||
|
||||
// Initialize Scene UI
|
||||
const sceneUI = new SceneUI(scene, 'layers-container');
|
||||
sceneUI.presetBasePath = new URL('../', document.currentScript.src).pathname;
|
||||
sceneUI.loadPresetFromPath();
|
||||
window.addEventListener('popstate', () => sceneUI.loadPresetFromPath());
|
||||
|
||||
// ============================================
|
||||
// Event Listeners
|
||||
|
||||
Reference in new issue
Block a user