Mention vizia ParamSlider set_style() method

This commit is contained in:
Robbert van der Helm
2022-03-21 18:36:41 +01:00
parent 933a54053c
commit d83f55728a
2 changed files with 4 additions and 3 deletions

View File

@@ -11,7 +11,8 @@ use super::RawParamEvent;
/// noramlized parameter.
const GRANULAR_DRAG_MULTIPLIER: f32 = 0.1;
/// A slider that integrates with NIH-plug's [`Param`] types.
/// A slider that integrates with NIH-plug's [`Param`] types. Use the
/// [`set_style()`][Self::set_style()] method to change how the value gets displayed.
///
/// TODO: Handle scrolling for steps (and shift+scroll for smaller steps?)
/// TODO: We may want to add a couple dedicated event handlers if it seems like those would be