Flag regulator update logging as debug
All checks were successful
/ test (pull_request) Successful in 2m19s
All checks were successful
/ test (pull_request) Successful in 2m19s
This commit is contained in:
parent
5506ec1f43
commit
99a9c3ec55
1 changed files with 3 additions and 0 deletions
|
@ -391,9 +391,12 @@ impl Assembly {
|
|||
// edited while acting as a constraint
|
||||
let self_for_effect = self.clone();
|
||||
create_effect(move || {
|
||||
/* DEBUG */
|
||||
// log the regulator update
|
||||
console::log_1(&JsValue::from(
|
||||
format!("Updated regulator with subjects {:?}", regulator_rc.subjects())
|
||||
));
|
||||
|
||||
if regulator_rc.try_activate(&self_for_effect) {
|
||||
self_for_effect.realize();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue