From 0b56b11d38da5a4b33ccda86aa8ee523df567e69 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Sun, 4 Jun 2023 19:03:30 -0700 Subject: [PATCH] Fix tab in/out animation not using `windowsMove` --- src/TabGroup.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TabGroup.cpp b/src/TabGroup.cpp index 90cc744..5eec57f 100644 --- a/src/TabGroup.cpp +++ b/src/TabGroup.cpp @@ -338,8 +338,8 @@ void Hy3TabBar::setSize(Vector2D size) { } Hy3TabGroup::Hy3TabGroup(Hy3Node& node) { - this->pos.create(AVARTYPE_VECTOR, g_pConfigManager->getAnimationPropertyConfig("windowsIn"), nullptr, AVARDAMAGE_NONE); - this->size.create(AVARTYPE_VECTOR, g_pConfigManager->getAnimationPropertyConfig("windowsIn"), nullptr, AVARDAMAGE_NONE); + this->pos.create(AVARTYPE_VECTOR, g_pConfigManager->getAnimationPropertyConfig("windowsMove"), nullptr, AVARDAMAGE_NONE); + this->size.create(AVARTYPE_VECTOR, g_pConfigManager->getAnimationPropertyConfig("windowsMove"), nullptr, AVARDAMAGE_NONE); this->pos.registerVar(); this->size.registerVar();