macOS fix attempt, the next
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user