Skip to content

UITransform translation lens#162

Merged
djeedai merged 1 commit into
djeedai:mainfrom
extrawurst:ui-translation-lens
Jan 31, 2026
Merged

UITransform translation lens#162
djeedai merged 1 commit into
djeedai:mainfrom
extrawurst:ui-translation-lens

Conversation

@extrawurst

Copy link
Copy Markdown
Contributor

opening this as a RFC:

as it only allows px right now.

@djeedai djeedai left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Thanks for the PR! I don't mind adding that lens, seems animating UI is a very common use case, so I'm fine paying the maintenance cost for that one. The "limited to px" also, it's too complex to handle all UI values and generally undefined anyway. However there's a few issues:

  • branch has conflicts (my bad)
  • unless there's an overwhelming concern (with profiling data) about nlerp() I much rather have something "correct" like slerp() instead

Comment thread src/lens.rs Outdated
@djeedai djeedai added enhancement New feature or request waiting-for-author Waiting for the PR author to make some change labels Jan 24, 2026
@extrawurst

Copy link
Copy Markdown
Contributor Author

@djeedai ok conflicts and comments resolved I think.

@djeedai djeedai merged commit 9e5e2fb into djeedai:main Jan 31, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request waiting-for-author Waiting for the PR author to make some change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants