1
0
Fork 0

Send vizia parameter change event down the tree

Otherwise this doesn't work.
This commit is contained in:
Robbert van der Helm 2022-11-15 17:01:24 +01:00
parent 98bd3add19
commit 9de657e04d

View file

@ -88,7 +88,10 @@ impl Editor for ViziaEditor {
.compare_exchange(true, false, Ordering::AcqRel, Ordering::Relaxed) .compare_exchange(true, false, Ordering::AcqRel, Ordering::Relaxed)
.is_ok() .is_ok()
{ {
cx.emit(RawParamEvent::ParametersChanged); cx.emit_custom(
Event::new(RawParamEvent::ParametersChanged)
.propagate(Propagation::Subtree),
);
} }
} }
}); });