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 window position save spam #562

Merged
merged 4 commits into from
Feb 9, 2022

Conversation

Araxeus
Copy link
Collaborator

@Araxeus Araxeus commented Jan 20, 2022

Previously when moving/resizing the window, the position would get spam saved to config, this PR introduce a timer (1sec) to keep it from spamming,

this also fix window position being' forgotten' on maximizing (happened because a move event is triggered to the top left of the screen when maximizing the window, atleast on windows)

@Araxeus
Copy link
Collaborator Author

Araxeus commented Jan 20, 2022

Sorry about the messy commit history, I fucked up and can't squash

index.js Show resolved Hide resolved
@th-ch th-ch merged commit ac54d33 into th-ch:master Feb 9, 2022
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