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

Dealing frame image distortion #16

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

liuzhiyi1992
Copy link

Eg(before):
62305ab7-48a6-4005-b698-cf3b3af11f54
0ead5e00-7e2c-4e03-b318-eb9064874ada

After:
18073238-6225-4dfd-9f66-66654dd74f72

@@ -44,10 +44,11 @@ @implementation SAVideoRangeSlider

#define SLIDER_BORDERS_SIZE 6.0f
#define BG_VIEW_BORDERS_SIZE 3.0f
#define FRAME_IMAGEVIEW_CONTENT_MODE UIViewContentModeScaleAspectFill
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adjust the contentMode of frame ImageView

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.

1 participant