Make default ui::selector use fg_color instead of bg_color
This commit is contained in:
parent
64425e4cc9
commit
d6f53ed76f
1 changed files with 1 additions and 1 deletions
|
|
@ -813,7 +813,7 @@ namespace psemek::ui
|
|||
if (st->shadow_offset)
|
||||
p.draw_rect(bbox + geom::cast<float>(*st->shadow_offset), *st->shadow_color);
|
||||
|
||||
p.draw_rect(bbox, *st->bg_color);
|
||||
p.draw_rect(bbox, *st->fg_color);
|
||||
|
||||
if (auto i = selected())
|
||||
p.draw_rect(item_box(*i), *st->highlight_color);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue