Skip to content

Commit ad6d9bc

Browse files
committed
xrGame/ui/UIMMShniaga.cpp: removed old commented CS code (#382)
It's not needed because we have SetVTextAlignment
1 parent dc51ba9 commit ad6d9bc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/xrGame/ui/UIMMShniaga.cpp

-5
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,6 @@ void CUIMMShniaga::CreateList(xr_vector<CUIStatic*>& lst, CUIXml& xml_doc, LPCST
175175
st->SetFont(pF);
176176
st->SetTextComplexMode(false);
177177
st->SetTextST(xml_doc.ReadAttrib("btn", i, "caption"));
178-
179-
// float font_height = st->GetFont()->GetHeight();
180-
// UI().ClientToScreenScaledHeight(font_height);
181-
182-
//. st->SetTextOffset (0, (button_height-font_height)/2.0f);
183178
st->SetTextColor(color);
184179
st->SetTextAlignment(CGameFont::alCenter);
185180
st->SetVTextAlignment(valCenter);

0 commit comments

Comments
 (0)