mirror of
https://github.com/hyprwm/hyprutils.git
synced 2025-12-27 02:20:04 +01:00
better tick for loop
This commit is contained in:
parent
057f20d32e
commit
7b54f66387
1 changed files with 1 additions and 2 deletions
|
|
@ -47,8 +47,7 @@ CAnimationConfigTree animationTree;
|
|||
class CMyAnimationManager : public CAnimationManager {
|
||||
public:
|
||||
void tick() {
|
||||
for (size_t i = 0; i < m_vActiveAnimatedVariables.size(); i++) {
|
||||
const auto PAV = m_vActiveAnimatedVariables[i];
|
||||
for (const auto& PAV : m_vActiveAnimatedVariables) {
|
||||
if (!PAV || !PAV->ok() || !PAV->isBeingAnimated())
|
||||
continue;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue