From 2e49ea443a84c5569a3e64349efed94379abbe4f Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Sun, 24 Mar 2024 01:17:26 +0100 Subject: [PATCH] fix fn name in ex.6 --- hui-examples/examples/ui_test_6_slider.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hui-examples/examples/ui_test_6_slider.rs b/hui-examples/examples/ui_test_6_slider.rs index cf8fdf0..f03e744 100644 --- a/hui-examples/examples/ui_test_6_slider.rs +++ b/hui-examples/examples/ui_test_6_slider.rs @@ -38,7 +38,7 @@ ui_main!( .with_align((Alignment::Center, Alignment::Begin)) .with_direction(Direction::Horizontal) .with_gap(5.) - .with_background_frame((0.1, 0.1, 0.1)) + .with_background((0.1, 0.1, 0.1)) .with_wrap(true) .with_children(|ui| { Text::new(format!("Number of images: {counter}"))