mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-07 09:56:59 +00:00
Now the separator label is drawn with other color.
This commit is contained in:
parent
91b6233b48
commit
bbc16ab0da
@ -1067,7 +1067,7 @@ void SkinneableTheme::draw_separator(JWidget widget, JRect clip)
|
||||
if (widget->hasText()) {
|
||||
int h = jwidget_get_text_height(widget);
|
||||
struct jrect r = { x1+h/2, y1-h/2, x2+1-h, y2+1+h };
|
||||
draw_textstring(NULL, -1, BGCOLOR, false, widget, &r, 0);
|
||||
draw_textstring(NULL, COLOR_SELECTED, BGCOLOR, false, widget, &r, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user