Client: Clear some text and images on the buy menu when switching categories.

This commit is contained in:
Marco Cawthorne 2023-04-19 10:00:55 -07:00
parent de81ff9280
commit 9dafd11530
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 4 additions and 0 deletions

View File

@ -279,6 +279,10 @@ VGUI_BuyMenu_Page(int buyPage)
}
}
lblBuyItemDescr.SetTitle("");
lblBuyItemTitle.SetTitle("");
imgBuyItemPic.SetImage("");
winBuyMenuPage.Show();
winBuyMenuPage.SetPos((video_res / 2) - (winBuyMenuPage.GetSize() / 2));