slideout
slideout copied to clipboard
Support for 0 padding, tolerance and duration
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: https://github.com/Mango/slideout/issues/266