animation: migrate PHLANIMVAR from SP to UP (#12486)
This commit is contained in:
parent
e4a8f2b14f
commit
7ccc57eb7c
5 changed files with 14 additions and 20 deletions
|
|
@ -209,8 +209,7 @@ void CHyprAnimationManager::tick() {
|
|||
|
||||
static auto PANIMENABLED = CConfigValue<Hyprlang::INT>("animations:enabled");
|
||||
|
||||
for (size_t i = 0; i < m_vActiveAnimatedVariables.size(); i++) {
|
||||
const auto PAV = m_vActiveAnimatedVariables[i].lock();
|
||||
for (const auto& PAV : m_vActiveAnimatedVariables) {
|
||||
if (!PAV)
|
||||
continue;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue