Move presetRow one index after presetData to account for node loading order

This commit is contained in:
relhamdi
2026-06-08 01:04:48 +02:00
parent f0cede43cd
commit d9efae392b
+1 -1
View File
@@ -309,7 +309,7 @@ const attachEditor = (node) => {
if (presetDataWidget) {
presetDataWidget.hidden = true;
const idx = node.widgets.indexOf(presetDataWidget);
node.widgets.splice(idx, 0, presetRow);
node.widgets.splice(idx + 1, 0, presetRow);
}
const exportImportRow = new ButtonRowWidget("preset_actions", [