-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Refactor/IHprLayout #10796
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
base: main
Are you sure you want to change the base?
Refactor/IHprLayout #10796
Conversation
…to avoid flooding
Throttle timer loop to avoid high CPU usage and track idle callbacks …
…llbacks to avoid flooding" This reverts commit 318688e.
@vaxerski This refactor can be merged. |
No, I don't think so. What does this refactor achieve? There are no benefits functionally, only potential (and wouldn't be the first time) regressions. You're rewriting a large part of code that has had historically dozens of small edge cases and issues, in a huge unreviewable dollop. In general, I am not in favor of huge refactors for no gain, only because "uhh code looks complicated". |
Describe your PR, what does it fix/add?
Split the performSnap and onMouseMove function to make it easier to test and work with.
Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)
no
Is it ready for merging, or does it need work?
yes, is ready I don't want to make the PR too big