Minor fix to show text caret on ui::Entry when it's at the end

This commit is contained in:
David Capello 2016-03-14 16:52:44 -03:00
parent 779875e728
commit 8de92df6cc

View File

@ -958,7 +958,7 @@ void SkinTheme::paintEntry(PaintEvent& ev)
}
w = g->measureChar(ch).w;
if (x+w > bounds.x2()-widget->childSpacing()*guiscale())
if (x+w > bounds.x2())
return;
caret_x = x;