diff --git a/api/src/persistence/source.rs b/api/src/persistence/source.rs index 8785b740a..be0b2c591 100644 --- a/api/src/persistence/source.rs +++ b/api/src/persistence/source.rs @@ -328,7 +328,7 @@ pub enum StreamDeckButtonForeground { FadingColor(StreamDeckButtonFadingColorForeground), FadingImage(StreamDeckButtonFadingImageForeground), FullBar(StreamDeckButtonFullBarForeground), - Arc(StreamDeckButtonKnobForeground), + Knob(StreamDeckButtonKnobForeground), } impl Default for StreamDeckButtonForeground { diff --git a/main/src/application/source_model.rs b/main/src/application/source_model.rs index 7744aa3d1..6dac9bddc 100644 --- a/main/src/application/source_model.rs +++ b/main/src/application/source_model.rs @@ -792,7 +792,7 @@ impl SourceModel { StreamDeckButtonForeground::FullBar(Default::default()) } StreamDeckButtonForegroundType::Knob => { - StreamDeckButtonForeground::Arc(Default::default()) + StreamDeckButtonForeground::Knob(Default::default()) } }, } @@ -1382,7 +1382,7 @@ impl From<&StreamDeckButtonForeground> for StreamDeckButtonForegroundType { match value { StreamDeckButtonForeground::FadingColor(_) => Self::FadingColor, StreamDeckButtonForeground::FadingImage(_) => Self::FadingImage, - StreamDeckButtonForeground::Arc(_) => Self::Knob, + StreamDeckButtonForeground::Knob(_) => Self::Knob, StreamDeckButtonForeground::FullBar(_) => Self::FullBar, } } diff --git a/main/src/domain/backbone.rs b/main/src/domain/backbone.rs index 86aff7eae..45c0e3acf 100644 --- a/main/src/domain/backbone.rs +++ b/main/src/domain/backbone.rs @@ -364,7 +364,7 @@ impl Backbone { } } } - StreamDeckButtonForeground::Arc(_) => { + StreamDeckButtonForeground::Knob(_) => { draw_knob(&mut img, width, height, fb_value); } } diff --git a/main/src/infrastructure/data/source_model_data.rs b/main/src/infrastructure/data/source_model_data.rs index 246112a05..05fb490a8 100644 --- a/main/src/infrastructure/data/source_model_data.rs +++ b/main/src/infrastructure/data/source_model_data.rs @@ -325,7 +325,7 @@ impl SourceModelData { model.change(P::SetButtonForegroundImagePath(b.path.clone().into())); } StreamDeckButtonForeground::FullBar(_) => {} - StreamDeckButtonForeground::Arc(_) => {} + StreamDeckButtonForeground::Knob(_) => {} } model.change(P::SetButtonForegroundType( (&self.button_design.foreground).into(),