logarithmic scaling added; missing the step fn for now

This commit is contained in:
Julius Schmitt
2026-01-22 20:44:40 +01:00
parent fb3f9d75dc
commit 969ba9bcb5
4 changed files with 50 additions and 30 deletions

View File

@@ -18,6 +18,7 @@ pub struct KnobConfig {
pub(crate) max_angle: f32,
pub(crate) reset_value: Option<f32>,
pub(crate) allow_scroll: bool,
pub(crate) logarithmic_scaling: bool,
}
impl KnobConfig {
@@ -39,7 +40,8 @@ impl KnobConfig {
show_background_arc: true,
show_filled_segments: true,
reset_value: None,
allow_scroll:false
allow_scroll:false,
logarithmic_scaling: false,
}
}
}