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

Migrate away from Rectangle::from_loc_and_size #1097

Merged
merged 3 commits into from
Jan 7, 2025
Merged

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.)

@ids1024 ids1024 force-pushed the from-loc-and-size branch 2 times, most recently from 3f5b818 to f28371a Compare December 31, 2024 17:05
@ids1024
Copy link
Member Author

ids1024 commented Jan 2, 2025

Updating Smithay now that Smithay/smithay#1621 is merged I see a bunch of build errors related to Smithay/smithay#1576, so I guess I'll update this after #1020 is merged.

@ids1024 ids1024 force-pushed the from-loc-and-size branch from f28371a to 801ed5a Compare January 6, 2025 20:54
@ids1024 ids1024 changed the title WIP Migrate away from Rectangle::from_loc_and_size Migrate away from Rectangle::from_loc_and_size Jan 6, 2025
@ids1024 ids1024 marked this pull request as ready for review January 6, 2025 21:15
@ids1024 ids1024 requested a review from a team January 6, 2025 21:15
@Drakulix Drakulix merged commit 7f69244 into master Jan 7, 2025
7 of 9 checks passed
@Drakulix Drakulix deleted the from-loc-and-size branch January 7, 2025 11:50
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.

2 participants