Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

imlazyeye
Copy link
Contributor

Changes the API for creating a Slider from...

let mut state = 0;
Slider::new("label", 0, 1).build(ui, &mut state);

...into...

let mut state = 0;
ui.slider("label", 0, 1, &mut state);

...in order to match the rest of the new architecture!

@sanbox-irl sanbox-irl merged commit d058272 into imgui-rs:main Jan 28, 2022
@sanbox-irl
Copy link
Member

LGTM! Thank you @imlazyeye

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants