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

fixed order of assignments in available_from_cursor_max_rect #5736

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

Conversation

Icekey
Copy link

@Icekey Icekey commented Feb 21, 2025

I changed the order of assignments in available_from_cursor_max_rect so that the same value is not checked twice in the min or max calls.
I am not sure if this fixes anything or if the extra assignment can be removed.

I also find it kinda weird that the match arms always leave one part of the "avail" rect untouched, but assign another twice. Is that just for formatting or is it a bug?

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