diff options
Diffstat (limited to 'src/helpers/AnimatedVariable.hpp')
-rw-r--r-- | src/helpers/AnimatedVariable.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helpers/AnimatedVariable.hpp b/src/helpers/AnimatedVariable.hpp index 6310afb7..7cea72a0 100644 --- a/src/helpers/AnimatedVariable.hpp +++ b/src/helpers/AnimatedVariable.hpp @@ -34,7 +34,7 @@ struct typeToANIMATEDVARTYPE_t<Vector2D> { }; template <> -struct typeToANIMATEDVARTYPE_t<CColor> { +struct typeToANIMATEDVARTYPE_t<CHyprColor> { static constexpr ANIMATEDVARTYPE value = AVARTYPE_COLOR; }; @@ -63,7 +63,7 @@ concept OneOf = (... or std::same_as<T, U>); // This is mainly to get better errors if we put a type that's not supported // Otherwise template errors are ugly template <class T> -concept Animable = OneOf<T, Vector2D, float, CColor>; +concept Animable = OneOf<T, Vector2D, float, CHyprColor>; class CBaseAnimatedVariable { public: |