mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Pass the GuiContext to vizia editors
There's no clean way to expose the state save/restore functionality through events.
This commit is contained in:
@@ -41,7 +41,7 @@ pub(crate) fn create(
|
||||
params: Arc<CrispParams>,
|
||||
editor_state: Arc<ViziaState>,
|
||||
) -> Option<Box<dyn Editor>> {
|
||||
create_vizia_editor(editor_state, move |cx| {
|
||||
create_vizia_editor(editor_state, move |cx, _| {
|
||||
Data {
|
||||
params: params.clone(),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user