animvar: fixup update callbacks and cleanup
This commit is contained in:
parent
d8429eebc6
commit
2930c5cb6f
6 changed files with 65 additions and 23 deletions
|
|
@ -3,7 +3,7 @@
|
|||
#include "../config/ConfigValue.hpp"
|
||||
|
||||
CHyprError::CHyprError() {
|
||||
m_fFadeOpacity.create(AVARTYPE_FLOAT, g_pConfigManager->getAnimationPropertyConfig("fadeIn"), nullptr, AVARDAMAGE_NONE);
|
||||
m_fFadeOpacity.create(AVARTYPE_FLOAT, g_pConfigManager->getAnimationPropertyConfig("fadeIn"), AVARDAMAGE_NONE);
|
||||
m_fFadeOpacity.registerVar();
|
||||
|
||||
g_pHookSystem->hookDynamic("focusedMon", [&](void* self, SCallbackInfo& info, std::any param) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue