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

WIP Migrate away from Rectangle::from_loc_and_size #1097

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ids1024
Copy link
Member

@ids1024 ids1024 commented Dec 27, 2024

Depends on Smithay/smithay#1621.

Annoying to update, but overall a little bit better.

Some of these Rectangle::new calls should probably be written in a way that doesn't construct new Point/Size instances from scalars and uses higher-level operations that preserve coordinate space, but this doesn't change that for now. (If we can move Smithay to euclid that should have a few more useful methods to clean up things like that too.)

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.

1 participant