diff --git a/imgui-examples/examples/progress_bar.rs b/imgui-examples/examples/progress_bar.rs index 2419ae8..9d11746 100644 --- a/imgui-examples/examples/progress_bar.rs +++ b/imgui-examples/examples/progress_bar.rs @@ -19,7 +19,7 @@ fn main() { ui.separator(); ui.text("This progress bar uses overlay text:"); - ProgressBar::new_with_overlay(0.8, "Lorem ipsum").build(ui); + ProgressBar::new(0.8).overlay_text("Lorem ipsum").build(ui); }); }); }