Skip to content

Limited counter#69

Open
yeseuleee wants to merge 2 commits into
Dovyski:masterfrom
yeseuleee:limited-counter
Open

Limited counter#69
yeseuleee wants to merge 2 commits into
Dovyski:masterfrom
yeseuleee:limited-counter

Conversation

@yeseuleee
Copy link
Copy Markdown

@yeseuleee yeseuleee commented Feb 25, 2019

I use cvui library you created very useful and well.
This makes my gui work much easier.
I used the counter function for the first time today.
My program needed a function to prevent users who use counters from setting more than a limited value.
So I modified the counter function to allow only a limited range of values ​.
I just added the min and max arguments to the existing counter function.
If the theStep argument was computed with theValue, the operation was not performed if it was smaller than min or smaller than max.
But python code is not completely edited. Because i'm not sure python grammar.
Than please check my code.
Thank you!

@Dovyski
Copy link
Copy Markdown
Owner

Dovyski commented May 24, 2020

Thank you! I am glad you like it! And thank you for your contribution! I am currently working to update all cvui code base. Your pull request will be merged soon.

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