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

content: Clip content size #761

Merged
merged 1 commit into from
Nov 28, 2024
Merged

Conversation

johannes-wolf
Copy link
Member

fixes #748

Negative padding can result in offset content, but this PRs goal is to prevent the compiler crash.

@johannes-wolf johannes-wolf added the bug 🐛 Something isn't working label Nov 27, 2024
@johannes-wolf johannes-wolf added this to the 0.3.2 milestone Nov 27, 2024
Copy link
Contributor

@jamesrswift jamesrswift left a comment

Choose a reason for hiding this comment

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

Minimal change and added test - looks good to me!

@johannes-wolf johannes-wolf merged commit 906ec6a into master Nov 28, 2024
1 check passed
@johannes-wolf johannes-wolf deleted the cetz-748-clip-content-isze branch November 28, 2024 12:20
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.

Negative padding causes crash
2 participants