Fixed: Font underline position
--HG-- branch : experimental-ui-scaling
This commit is contained in:
parent
1c142ef968
commit
7eb63bfb3f
1 changed files with 1 additions and 1 deletions
|
@ -1108,7 +1108,7 @@ namespace NLGUI
|
|||
|
||||
// Draw a line
|
||||
if (_Underlined)
|
||||
rVR.drawRotFlipBitmap (_RenderLayer, fx, fy - _FontLegHeight*0.3f / _Scale, line_width / _Scale, 1.0f / _Scale, 0, false, rVR.getBlankTextureId(), col);
|
||||
rVR.drawRotFlipBitmap (_RenderLayer, fx, fy - _FontLegHeight*0.6f / _Scale, line_width / _Scale, 1.0f / _Scale, 0, false, rVR.getBlankTextureId(), col);
|
||||
|
||||
if (_StrikeThrough)
|
||||
rVR.drawRotFlipBitmap (_RenderLayer, fx, fy + _FontHeight*0.2f / _Scale, line_width / _Scale, 1.0f / _Scale, 0, false, rVR.getBlankTextureId(), col);
|
||||
|
|
Loading…
Reference in a new issue