Commit 3d9eb1f
authored
Window: Fix incorrect logic in dragging code
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.
GitHub: #1651 parent f9c95e8 commit 3d9eb1f
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
| 337 | + | |
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
| 343 | + | |
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
| |||
0 commit comments