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:
@@ -126,7 +126,7 @@ impl Plugin for Diopser {
|
||||
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(
|
||||
editor::Data {
|
||||
params: self.params.clone(),
|
||||
|
||||
Reference in New Issue
Block a user