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

[iOS & tvOS] Fix Clipping Add User Button #1441

Merged
merged 2 commits into from
Feb 26, 2025

Conversation

chickdan
Copy link
Contributor

Not entirely sure why this is necessary but it was the only difference I can spot after the change in #1328

Fixes #1425

@JPKribs JPKribs added the bug Something isn't working label Feb 25, 2025
@JPKribs
Copy link
Member

JPKribs commented Feb 25, 2025

That seems to resolve it for me as well! Would you be able to mirror that on tvOS as well:

/Swiftfin tvOS/Views/SelectUserView/Components/UserGridButton.swift

Looks like the same fix there on L66 & L67.

I'll defer to @LePips if there is any Swift reason this shouldn't be added but otherwise it looks good to me!

Copy link
Member

@LePips LePips left a comment

Choose a reason for hiding this comment

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

Hm the "clipping" is due to the ScrollIfLargerThanContainer setting the frame and the size not being reported correctly, as well as some oddities with my current on[Size|Frame]Changed wrappers. Unknown why setting the aspect ratio and clip shape again fixes it.

I played around with some clean up but will defer that to later.

@LePips LePips merged commit d2c5ac9 into jellyfin:main Feb 26, 2025
4 checks passed
@JPKribs JPKribs changed the title [iOS] Fix Clipping Add User Button [iOS & tvOS] Fix Clipping Add User Button Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[iOS] Grid in UserSelectView gets cut off with more than one user
3 participants