resetDefaults when editor is reset
This commit is contained in:
parent
82b14b5292
commit
664d76cf1b
1 changed files with 2 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ import {
|
|||
resetGlobalEffects,
|
||||
resetLoadedSounds,
|
||||
initAudioOnFirstClick,
|
||||
resetDefaults,
|
||||
} from '@strudel/webaudio';
|
||||
import { setVersionDefaultsFrom } from './util.mjs';
|
||||
import { StrudelMirror, defaultSettings } from '@strudel/codemirror';
|
||||
|
|
@ -181,6 +182,7 @@ export function useReplContext() {
|
|||
|
||||
const resetEditor = async () => {
|
||||
(await getModule('@strudel/tonal'))?.resetVoicings();
|
||||
resetDefaults();
|
||||
resetGlobalEffects();
|
||||
clearCanvas();
|
||||
clearHydra();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue