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

Toggle window width between full screen and original width #66

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

mogenson
Copy link
Owner

Change the behavior of the full_width action to toggle a window size between the full screen width and the window's original width.

Cache the original width size in an upvalue table when setting the full screen width. Check if that table has an entry. If so, restore the window to the original width, center it on the screen, and clear the table entry.

Change the behavior of the full_width action to toggle a window size
between the full screen width and the window's original width.

Cache the original width size in an upvalue table when setting the full
screen width. Check if that table has an entry. If so, restore the
window to the original width, center it on the screen, and clear the
table entry.
@mogenson mogenson merged commit 5913c22 into main Jan 14, 2025
1 check passed
@mogenson mogenson deleted the toggle-full-width branch January 14, 2025 13:29
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