Flag regulator update logging as debug
All checks were successful
/ test (pull_request) Successful in 2m19s

This commit is contained in:
Aaron Fenyes 2025-04-17 21:31:24 -07:00
parent 5506ec1f43
commit 99a9c3ec55

View file

@ -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();
}