Only focused window was cancelling its animation because we call cancel in window::set_position and waiting for its cancelling. And because we waiting for cancelling second window is still moving. Second window will stop moving only after the first window. So I moved cancel call to Animation struct so its happening in its own thread and doesn't block others animation moves and cancels.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/LGUG2Z/komorebi/pull/800
**Author:** [@thearturca](https://github.com/thearturca)
**Created:** 5/1/2024
**Status:** ✅ Merged
**Merged:** 5/1/2024
**Merged by:** [@LGUG2Z](https://github.com/LGUG2Z)
**Base:** `feature/animated-move` ← **Head:** `feature/animated-move`
---
### 📝 Commits (1)
- [`69d412f`](https://github.com/LGUG2Z/komorebi/commit/69d412f47aaa7e29479b2baffc31885ebbe2b1a6) fix(animation): Move cancel call to Animation struct
### 📊 Changes
**2 files changed** (+4 additions, -5 deletions)
<details>
<summary>View changed files</summary>
📝 `komorebi/src/animation.rs` (+4 -0)
📝 `komorebi/src/window.rs` (+0 -5)
</details>
### 📄 Description
Only focused window was cancelling its animation because we call cancel in window::set_position and waiting for its cancelling. And because we waiting for cancelling second window is still moving. Second window will stop moving only after the first window. So I moved `cancel` call to Animation struct so its happening in its own thread and doesn't block others animation moves and cancels.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/LGUG2Z/komorebi/pull/800
Author: @thearturca
Created: 5/1/2024
Status: ✅ Merged
Merged: 5/1/2024
Merged by: @LGUG2Z
Base:
feature/animated-move← Head:feature/animated-move📝 Commits (1)
69d412ffix(animation): Move cancel call to Animation struct📊 Changes
2 files changed (+4 additions, -5 deletions)
View changed files
📝
komorebi/src/animation.rs(+4 -0)📝
komorebi/src/window.rs(+0 -5)📄 Description
Only focused window was cancelling its animation because we call cancel in window::set_position and waiting for its cancelling. And because we waiting for cancelling second window is still moving. Second window will stop moving only after the first window. So I moved
cancelcall to Animation struct so its happening in its own thread and doesn't block others animation moves and cancels.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.