mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-06 21:39:57 +00:00
Minor fix to show text caret on ui::Entry when it's at the end
This commit is contained in:
parent
779875e728
commit
8de92df6cc
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user