Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for 0 padding, tolerance and duration #280

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

anmatika
Copy link

@anmatika anmatika commented Nov 9, 2018

Not sure if this is by design or a bug in the library. If this is a bug please consider this PR.

Setting 0 values on initialization for padding, tolerance, or duration is not possible
with the current implementation since 0 values will become their default values.

For example, padding set to 0 will become 256.
If using the library so it would behave as an overlay menu, having a possibility to set 0 padding is important.

This PR will add the possibility to set 0 values for padding, tolerance, and duration.

For more info, there's an issue for this: #266

Setting 0 values on initilization for padding, tolerance and duration is not possible
with the current implentation since 0 values will become their default values. For example padding set to 0 will become 256. Add support for 0 values.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.5%) to 70.414% when pulling fd5f9a3 on anmatika:support-0-padding-tolerance-duration into 6eb8440 on Mango:master.

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