Skip to content

Adjust window dimensions based on the resizable property. #215

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

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

Conversation

WINBIGFOX
Copy link
Contributor

Updated the logic to set window width and height to ignore stored window state when resizable is false. This ensures consistent behavior for fixed-size windows regardless of previous state data.

Updated the logic to set window width and height to ignore stored window state when `resizable` is false. This ensures consistent behavior for fixed-size windows regardless of previous state data.
@WINBIGFOX
Copy link
Contributor Author

Hey @gwleuverink, are you still missing something in your eyes?
Do you have plans for the next release? There are a few changes I'm already waiting for 🙂

@gwleuverink
Copy link
Contributor

I just sent you a dm before reading this

Copy link
Contributor

@gwleuverink gwleuverink left a comment

Choose a reason for hiding this comment

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

Thanks! I ran it and it works 🙏 The terniary was hard to parse, but that was already the case before the change.

I wonder if we can clean this up for readability while we're touching this. Maybe pull it into a function & break the conditionals up?

It was already like this, so it's approved 👍 just recognising a possible refactor opportunity.

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