Skip to content

Commit

Permalink
fix example slider.rs (#2131)
Browse files Browse the repository at this point in the history
Co-authored-by: Christoph <[email protected]>
  • Loading branch information
xarvic and Christoph authored Jan 22, 2022
1 parent fc05e96 commit 3f32c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion druid/examples/slider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ fn build_root_widget() -> impl Widget<AppState> {
.knob_style(KnobStyle::Wedge)
.axis(Axis::Vertical)
.with_step(0.25)
.annotated(0.0, 0.0000000025)
.annotated(1.0, 0.25)
.fix_height(250.0)
.lens(AppState::value)
.boxed()
Expand Down

0 comments on commit 3f32c7c

Please sign in to comment.