This PR addresses an issue described here.
There is a redundant subtraction from the frame of the drawerContentView with the bounceOverflowMargin var when it's displayed for .panel and .compact modes where bouncing is disabled.
Fixes # 416
Type of change
[x] Bug fix (non-breaking change which fixes an issue)
How Has This Been Tested?
Verified that the issue is fixed by inspecting the UI with XCode on iPad Simulator for panel and compact display modes. The change doesn't affect drawer mode so It's not tested in drawer mode. In the linked issue there is provided explanation on how to reproduce the issue this pull request fixes.
This code is probably a copy paste issue in the first place.
[x] Test iOS 14
Test Configuration
Xcode Versions: [12.5]
Simulators: [iPad Pro (14.5)]
Checklist:
[x] My code follows the style guidelines of this project
[x] My code does not break backwards compatibility with earlier versions of PulleyLib
[x] My code is fully functional with all supported device sizes and orientations
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have checked that my code does not break the behavior of the Sample/Demo app
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have tested and can prove my fix is effective or that my feature works
Description
This PR addresses an issue described here. There is a redundant subtraction from the frame of the drawerContentView with the bounceOverflowMargin var when it's displayed for .panel and .compact modes where bouncing is disabled.
Fixes # 416
Type of change
How Has This Been Tested?
Verified that the issue is fixed by inspecting the UI with XCode on iPad Simulator for panel and compact display modes. The change doesn't affect drawer mode so It's not tested in drawer mode. In the linked issue there is provided explanation on how to reproduce the issue this pull request fixes.
This code is probably a copy paste issue in the first place.
Test Configuration
Checklist: