Update node state when changing something, updated back button to act like one

This commit is contained in:
Lucas Oliveira 2023-12-04 17:38:06 -03:00
commit 0fc773ecee
2 changed files with 8 additions and 3 deletions

View file

@ -125,6 +125,7 @@ export default function ParameterComponent({
takeSnapshot();
}
data.node!.template[name].value = newValue;
updateNodeInternals(data.id);
// Set state to pending
//@ts-ignore
if (data.node!.template[name].value !== newValue) {