Skip to content

Commit

Permalink
* add state as second parameter to state change callback
Browse files Browse the repository at this point in the history
  • Loading branch information
Apollon77 committed Jul 12, 2024
1 parent 0412e17 commit 3c51b03
Show file tree
Hide file tree
Showing 3 changed files with 171 additions and 310 deletions.
2 changes: 1 addition & 1 deletion lib/objectHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ function handleStateChange(id, state) {
return;
}
}
stateChangeTrigger[id](state.val);
stateChangeTrigger[id](state.val, state);
}
}

Expand Down
Loading

0 comments on commit 3c51b03

Please sign in to comment.