mirror of
https://github.com/obsqrbtz/egui_knob.git
synced 2026-04-08 20:19:17 +03:00
Updated doc comment for with_double_click_reset
This commit is contained in:
@@ -157,8 +157,6 @@ impl<'a> Knob<'a> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Sets a reset value to return to on doubleclick event.
|
/// Sets a reset value to return to on doubleclick event.
|
||||||
///
|
|
||||||
/// Default is 0.005.
|
|
||||||
pub fn with_double_click_reset(mut self, reset_value: f32) -> Self {
|
pub fn with_double_click_reset(mut self, reset_value: f32) -> Self {
|
||||||
self.config.reset_value = Some(reset_value);
|
self.config.reset_value = Some(reset_value);
|
||||||
self
|
self
|
||||||
|
|||||||
Reference in New Issue
Block a user