Skip to content

Commit ef7c849

Browse files
committed
Missed a renaming.
1 parent 8cb1e60 commit ef7c849

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/bevy_core_widgets/src/core_scrollbar.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@ impl CoreScrollbar {
7171
///
7272
/// * `target` - The scrollable entity that this scrollbar will control.
7373
/// * `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 {
7676
Self {
7777
target,
7878
orientation,
79-
min_thumb_length: min_thumb_size,
79+
min_thumb_length,
8080
}
8181
}
8282
}

0 commit comments

Comments
 (0)