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

Force SRContentClip to be applied on texts #572

Merged

Conversation

louiszawadzki
Copy link
Contributor

What does this PR do?

Today the clip(0 0 0 0) property is not set as this is the value used to remove the clip path.
There is a plan to tackle this in the player and in SDK. However this probably won't be ready for our private beta phase, so in the meantime I suggest a small temporary change to allow a better

Force the clip(0 0 0 0) property to be applied on Texts.
Setting a negative clip value does not change anything visually, but it ensures that the clipping is set.

Before PR After PR
image image

Motivation

What inspired you to submit this pull request?

Additional Notes

Anything else we should know when reviewing?

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests
  • Make sure you discussed the feature or bugfix with the maintaining team in an Issue
  • Make sure each commit and the PR mention the Issue number (cf the CONTRIBUTING doc)
  • If this PR is auto-generated, please make sure also to manually update the code related to the change

@louiszawadzki louiszawadzki requested a review from a team as a code owner December 19, 2023 15:27
@louiszawadzki louiszawadzki merged commit a181b32 into develop Jan 3, 2024
4 checks passed
@louiszawadzki louiszawadzki deleted the louiszawadzki/rum-2354/set-text-clip-to-fix-ellipsis branch January 3, 2024 10:15
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.

3 participants