0b56b11d38da5a4b33ccda86aa8ee523df567e69

Author
outfoxxed <outfoxxed@outfoxxed.me>
Committer
outfoxxed <outfoxxed@outfoxxed.me>
Date

Message

Fix tab in/out animation not using `windowsMove`

Diff

 1diff --git a/src/TabGroup.cpp b/src/TabGroup.cpp
 2index 90cc744bb0cc435280ebe954b9f40825e4dbeb71..5eec57f1ba6e85a4ba7f70133e1a399333b1a933 100644
 3--- a/src/TabGroup.cpp
 4+++ b/src/TabGroup.cpp
 5@@ -338,8 +338,8 @@ void Hy3TabBar::setSize(Vector2D size) {
 6 }
 7 
 8 Hy3TabGroup::Hy3TabGroup(Hy3Node& node) {
 9-	this->pos.create(AVARTYPE_VECTOR, g_pConfigManager->getAnimationPropertyConfig("windowsIn"), nullptr, AVARDAMAGE_NONE);
10-	this->size.create(AVARTYPE_VECTOR, g_pConfigManager->getAnimationPropertyConfig("windowsIn"), nullptr, AVARDAMAGE_NONE);
11+	this->pos.create(AVARTYPE_VECTOR, g_pConfigManager->getAnimationPropertyConfig("windowsMove"), nullptr, AVARDAMAGE_NONE);
12+	this->size.create(AVARTYPE_VECTOR, g_pConfigManager->getAnimationPropertyConfig("windowsMove"), nullptr, AVARDAMAGE_NONE);
13 	this->pos.registerVar();
14 	this->size.registerVar();
15