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

fix: fix width not being returned on 2nd load #61

Merged
merged 1 commit into from
Aug 13, 2023

Conversation

Coder-Manuel
Copy link
Contributor

The code in the if statements when in auto mode aren't being fired the 2nd time. This is because the displayModeState is set to open (atleast with my use case), hence the _widthSize() returns 0;

I've refined the statements and placed the return statement outside the 2nd condition check.

Related to #46

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.

None yet

2 participants