macOS fix attempt, the next

This commit is contained in:
Ebu
2025-12-02 12:01:47 +01:00
parent 4680644c54
commit 64c0d94fbc
2 changed files with 107 additions and 83 deletions

View File

@@ -49,10 +49,7 @@ impl Editor for EditorWindow {
..Default::default()
})
}, move |window: &mut baseview::Window<'_>| -> PluginGui {
match PluginGui::new(window, gui_context, params, scaling_factor.unwrap_or(1.0)) {
Err(err) => { nih_error!("Failed to create plugin: {err}"); panic!("{err}"); }
Ok(plug) => plug
}
PluginGui::new(window, gui_context, params, scaling_factor.unwrap_or(1.0))
});
self.params.editor_state.open.store(true, Ordering::Release);
Box::new(EditorHandle {