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

Clip text to widget rect #336

Merged
merged 5 commits into from
Jul 18, 2022
Merged

Clip text to widget rect #336

merged 5 commits into from
Jul 18, 2022

Conversation

dhardy
Copy link
Collaborator

@dhardy dhardy commented Jul 16, 2022

Fix #277: clip text to available rect when drawing.

Add some consts to Vec2, Quad.

Revise accelerator keys for the Gallery.

@dhardy dhardy merged commit 65d6a30 into master Jul 18, 2022
@dhardy dhardy changed the title Work2 Clip text to widget rect Jul 19, 2022
@dhardy
Copy link
Collaborator Author

dhardy commented Jul 19, 2022

This has a bug: it doesn't consider the scroll offset. Scrolled content is clipped to its unscrolled position.

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.

Text clipping
1 participant