Skip to content

Commit

Permalink
fix a error textmenu disappear
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr.Abc committed Sep 1, 2024
1 parent 7676d39 commit 3accc61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Source/HUD/vgui/textmenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ void CTextMenu::SetContent(const char* szMenu){


void CTextMenu::StartFade(bool state){
vgui::GetAnimationController()->CancelAnimationsForPanel(GetParent());
vgui::GetAnimationController()->StartAnimationSequence(GetParent(), state ? "TextMenuIn" : "TextMenuOut");
}

Expand Down

0 comments on commit 3accc61

Please sign in to comment.