Skip to content

Window: Fix incorrect logic in dragging code #165

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

Merged
merged 1 commit into from
Apr 10, 2025

Conversation

Johni0702
Copy link
Contributor

These ifs used to be early returns and were improperly inverted in c199a84.

This is why our integration tests were no longer able to dismiss notifications by dragging them off-screen, because the tests were moving the mouse perfectly horizontally, so no drag event was ever emitted.

These `if`s used to be early returns and were improperly inverted in
c199a84.

This is why our integration tests were no longer able to dismiss
notifications by dragging them off-screen, because the tests were moving
the mouse perfectly horizontally, so no drag event was ever emitted.
Copy link

@Traben-0 Traben-0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Johni0702 Johni0702 merged commit 3d9eb1f into master Apr 10, 2025
1 check passed
@Johni0702 Johni0702 deleted the fix/dragging-perfectly-on-axis branch April 10, 2025 11:57
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