Derive Debug for the editor state structs
This commit is contained in:
parent
199e836f80
commit
5a8721f63c
|
@ -61,7 +61,7 @@ where
|
||||||
}
|
}
|
||||||
|
|
||||||
/// State for an `nih_plug_egui` editor.
|
/// State for an `nih_plug_egui` editor.
|
||||||
#[derive(Serialize, Deserialize)]
|
#[derive(Debug, Serialize, Deserialize)]
|
||||||
pub struct EguiState {
|
pub struct EguiState {
|
||||||
/// The window's size in logical pixels before applying `scale_factor`.
|
/// The window's size in logical pixels before applying `scale_factor`.
|
||||||
#[serde(with = "nih_plug::params::persist::serialize_atomic_cell")]
|
#[serde(with = "nih_plug::params::persist::serialize_atomic_cell")]
|
||||||
|
|
|
@ -233,7 +233,7 @@ pub trait IcedEditor: 'static + Send + Sync + Sized {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// State for an `nih_plug_iced` editor.
|
/// State for an `nih_plug_iced` editor.
|
||||||
#[derive(Serialize, Deserialize)]
|
#[derive(Debug, Serialize, Deserialize)]
|
||||||
pub struct IcedState {
|
pub struct IcedState {
|
||||||
/// The window's size in logical pixels before applying `scale_factor`.
|
/// The window's size in logical pixels before applying `scale_factor`.
|
||||||
#[serde(with = "nih_plug::params::persist::serialize_atomic_cell")]
|
#[serde(with = "nih_plug::params::persist::serialize_atomic_cell")]
|
||||||
|
|
|
@ -83,7 +83,7 @@ pub enum ViziaTheming {
|
||||||
|
|
||||||
/// State for an `nih_plug_vizia` editor. The scale factor can be manipulated at runtime by changing
|
/// State for an `nih_plug_vizia` editor. The scale factor can be manipulated at runtime by changing
|
||||||
/// `cx.user_scale_factor`.
|
/// `cx.user_scale_factor`.
|
||||||
#[derive(Serialize, Deserialize)]
|
#[derive(Debug, Serialize, Deserialize)]
|
||||||
pub struct ViziaState {
|
pub struct ViziaState {
|
||||||
/// The window's size in logical pixels before applying `scale_factor`.
|
/// The window's size in logical pixels before applying `scale_factor`.
|
||||||
#[serde(with = "nih_plug::params::persist::serialize_atomic_cell")]
|
#[serde(with = "nih_plug::params::persist::serialize_atomic_cell")]
|
||||||
|
|
Loading…
Reference in a new issue