Skip to content

Support for 0 padding, tolerance and duration#280

Open
anmatika wants to merge 1 commit intoMango:masterfrom
anmatika:support-0-padding-tolerance-duration
Open

Support for 0 padding, tolerance and duration#280
anmatika wants to merge 1 commit intoMango:masterfrom
anmatika:support-0-padding-tolerance-duration

Conversation

@anmatika
Copy link
Copy Markdown

@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
Copy Markdown

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