disable old tooltip border

This commit is contained in:
pierow 2023-09-14 20:56:49 -04:00
parent d40e6e15bc
commit e241e23752
1 changed files with 4 additions and 2 deletions

View File

@ -135,8 +135,10 @@ void AvHTooltip::Draw()
float theNormalizedAlpha = (float)this->mColorA/255;
int theAlphaComponent = theNormalizedAlpha*this->mBackgroundColorA;
FillRGBA(theFillStartX, theFillStartY, this->mScreenWidth, this->mScreenHeight, this->mBackgroundColorR, this->mBackgroundColorG, this->mBackgroundColorB, theAlphaComponent);
vguiSimpleBox(theFillStartX, theFillStartY, theFillStartX + this->mScreenWidth, theFillStartY + this->mScreenHeight, this->mColorR, this->mColorG, this->mColorB, theAlphaComponent);
////Old NS 3.2 box around the text with AWFUL performance. Colors rendered wrong and the shaded background wasn't working either.
//FillRGBA(theFillStartX, theFillStartY, this->mScreenWidth, this->mScreenHeight, this->mBackgroundColorR, this->mBackgroundColorG, this->mBackgroundColorB, theAlphaComponent);
//vguiSimpleBox(theFillStartX, theFillStartY, theFillStartX + this->mScreenWidth, theFillStartY + this->mScreenHeight, this->mColorR, this->mColorG, this->mColorB, theAlphaComponent);
//New higher performance box.
this->DrawBorder(theFillStartX, theFillStartY, theAlphaComponent);