mirror of
https://github.com/SamEyeBam/animate.git
synced 2026-10-01 10:06:53 +00:00
BallOfLife
This commit is contained in:
@@ -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