use onAfterGraphConfigured

This commit is contained in:
christian-byrne 2024-07-17 14:34:58 -07:00
parent b342654b5f
commit 7eb6dae919

View File

@ -151,9 +151,9 @@ app.registerExtension({
audioWidget.callback = onAudioWidgetUpdate
// Load saved audio file widget values if restoring from workflow
const onGraphConfigured = node.onGraphConfigured;
node.onGraphConfigured = () => {
onGraphConfigured?.apply(this, arguments)
const onAfterGraphConfigured = node.onAfterGraphConfigured;
node.onAfterGraphConfigured = () => {
onAfterGraphConfigured?.apply(this, arguments)
if (audioWidget.value) {
onAudioWidgetUpdate()
}