removed the dead code which was moved up in previous commit. it is actually just that, dead code, moving it up reintruduces bleeding in menus.
This commit is contained in:
@@ -210,7 +210,6 @@ float SimpleButton::GetEnlargedWidth()
|
||||
mFont->SetScale(SCALE_SELECTED);
|
||||
if(mText.size() < 20)
|
||||
mFont->SetScale(SCALE_SELECTED_LARGE);
|
||||
mFont->SetScale(backup);
|
||||
return mFont->GetStringWidth(mText.c_str());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user