mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Take &mut self for editor() and task_executor()
This commit is contained in:
@@ -317,7 +317,7 @@ impl Plugin for SpectralCompressor {
|
||||
self.params.clone()
|
||||
}
|
||||
|
||||
fn editor(&self, _async_executor: AsyncExecutor<Self>) -> Option<Box<dyn Editor>> {
|
||||
fn editor(&mut self, _async_executor: AsyncExecutor<Self>) -> Option<Box<dyn Editor>> {
|
||||
editor::create(
|
||||
self.params.editor_state.clone(),
|
||||
editor::Data {
|
||||
|
||||
Reference in New Issue
Block a user