File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/bevy_core_widgets/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -71,12 +71,12 @@ impl CoreScrollbar {
71
71
///
72
72
/// * `target` - The scrollable entity that this scrollbar will control.
73
73
/// * `orientation` - The orientation of the scrollbar (horizontal or vertical).
74
- /// * `min_thumb_size ` - The minimum size of the scrollbar's thumb, in pixels.
75
- pub fn new ( target : Entity , orientation : ControlOrientation , min_thumb_size : f32 ) -> Self {
74
+ /// * `min_thumb_length ` - The minimum size of the scrollbar's thumb, in pixels.
75
+ pub fn new ( target : Entity , orientation : ControlOrientation , min_thumb_length : f32 ) -> Self {
76
76
Self {
77
77
target,
78
78
orientation,
79
- min_thumb_length : min_thumb_size ,
79
+ min_thumb_length,
80
80
}
81
81
}
82
82
}
You can’t perform that action at this time.
0 commit comments