Add an individual Editor::param_value_changed

This commit is contained in:
Robbert van der Helm
2023-01-11 14:16:19 +01:00
parent bdc8537f3f
commit 922d2de603
4 changed files with 30 additions and 14 deletions

View File

@@ -101,11 +101,15 @@ where
true
}
fn param_values_changed(&self) {
fn param_value_changed(&self, _id: &str, _normalized_value: f32) {
// As mentioned above, for now we'll always force a redraw to allow meter widgets to work
// correctly. In the future we can use an `Arc<AtomicBool>` and only force a redraw when
// that boolean is set.
}
fn param_values_changed(&self) {
// Same
}
}
/// The window handle used for [`EguiEditor`].