mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Add build closure parameter to create_egui_editor
This commit is contained in:
@@ -93,6 +93,7 @@ impl Plugin for Gain {
|
||||
create_egui_editor(
|
||||
self.params.editor_state.clone(),
|
||||
(),
|
||||
|_, _| {},
|
||||
move |egui_ctx, setter, _state| {
|
||||
egui::CentralPanel::default().show(egui_ctx, |ui| {
|
||||
// NOTE: See `plugins/diopser/src/editor.rs` for an example using the generic UI widget
|
||||
|
||||
Reference in New Issue
Block a user