SDK/TextAreaWidget: Improve glyph selection

This commit is contained in:
Lynix 2016-12-05 20:39:33 +01:00
parent d3e3e9cbe2
commit c781f7cb45
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ namespace Ndk
for (; i < upperLimit - 1; ++i)
{
Nz::Rectf bounds = m_drawer.GetGlyph(i).bounds;
if (x < bounds.x + bounds.width)
if (x < bounds.x + bounds.width * 0.75f)
break;
}