Don't require Send+Sync on the editor
This commit is contained in:
parent
75435ecb4a
commit
83c3410736
|
@ -150,7 +150,7 @@ pub trait Vst3Plugin: Plugin {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// An editor for a [Plugin]. This object gets dropped when the host closes the editor.
|
/// An editor for a [Plugin]. This object gets dropped when the host closes the editor.
|
||||||
pub trait Editor: Send + Sync {
|
pub trait Editor {
|
||||||
/// Return the (currnent) size of the editor in pixels as a `(width, height)` pair.
|
/// Return the (currnent) size of the editor in pixels as a `(width, height)` pair.
|
||||||
fn size(&self) -> (u32, u32);
|
fn size(&self) -> (u32, u32);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue