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 restoring from mini mode on Windows #80

Merged
merged 2 commits into from
May 31, 2024

Conversation

neilenns
Copy link
Contributor

Fixes #79

  • Use getContentSize() and a fixed 300-pixel width as the test for whether to restore from mini-mode

I'm not wild about the hardcoded 300 value but making it a .scss variable and then reading that at runtime would require far more extensive changes that don't seem worth it.

@neilenns
Copy link
Contributor Author

I have only tested this on Windows. I assume it still works on Mac and Linux but don't have a way to verify.

@neilenns neilenns changed the title Restoring from mini mode doesn't work on Windows Fix restoring from mini mode on Windows May 31, 2024
@pierr3 pierr3 merged commit b4e9700 into pierr3:main May 31, 2024
3 checks passed
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.

Restoring from mini mode doesn't work on Windows
2 participants