summaryrefslogtreecommitdiffstats
path: root/widget/src/slider.rs
diff options
context:
space:
mode:
Diffstat (limited to 'widget/src/slider.rs')
-rw-r--r--widget/src/slider.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/widget/src/slider.rs b/widget/src/slider.rs
index a372f8e7..65bc1772 100644
--- a/widget/src/slider.rs
+++ b/widget/src/slider.rs
@@ -109,7 +109,8 @@ where
}
/// Sets the optional default value for the [`Slider`].
- /// If set, [`Slider`] will reset to this value when doubled-clicked, ctrl-clicked, or command-clicked.
+ ///
+ /// If set, the [`Slider`] will reset to this value when ctrl-clicked or command-clicked.
pub fn default(mut self, default: impl Into<T>) -> Self {
self.default = Some(default.into());
self