mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-02 22:13:32 +00:00
Fix problem rendering underlined characters
This commit is contained in:
parent
3935b10467
commit
4ea41e1024
@ -1885,7 +1885,7 @@ void SkinTheme::drawTextString(Graphics* g, const char *t, ui::Color fg_color, u
|
|||||||
Rect textWrap = textrc.createIntersect(
|
Rect textWrap = textrc.createIntersect(
|
||||||
// TODO add ui::Widget::getPadding() property
|
// TODO add ui::Widget::getPadding() property
|
||||||
// Rect(widget->getClientBounds()).shrink(widget->getBorder()));
|
// Rect(widget->getClientBounds()).shrink(widget->getBorder()));
|
||||||
widget->getClientBounds());
|
widget->getClientBounds()).inflate(0, 1*jguiscale());
|
||||||
|
|
||||||
if (IntersectClip clip = IntersectClip(g, textWrap)) {
|
if (IntersectClip clip = IntersectClip(g, textWrap)) {
|
||||||
if (!widget->isEnabled()) {
|
if (!widget->isEnabled()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user