Skip to content

Commit 9e11f22

Browse files
committed
Fixed misplaced text on 3tButtons (both COP and CS, #382)
I just returned Clear Sky code and it fixed some text misplacements even in COP. Why GSC changed this in COP?
1 parent ba154b8 commit 9e11f22

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/xrUICore/Lines/UILines.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -354,10 +354,8 @@ void CUILines::Draw(float x, float y)
354354
text_pos.set(0, 0);
355355

356356
text_pos.x = x + GetIndentByAlign();
357-
// text_pos.y = y + GetVIndentByAlign();
358-
text_pos.y = y;
357+
text_pos.y = y + GetVIndentByAlign();
359358
UI().ClientToScreenScaled(text_pos);
360-
text_pos.y += GetVIndentByAlign();
361359

362360
if (uFlags.test(flPasswordMode))
363361
{

0 commit comments

Comments
 (0)