mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-02 11:36:38 -04:00
parent
ff14008b43
commit
31082c63af
2 changed files with 2 additions and 2 deletions
|
@ -1136,7 +1136,7 @@ void ButtonWithEncoder::paint(Painter& painter) {
|
||||||
|
|
||||||
const Style paint_style = {style().font, bg, fg};
|
const Style paint_style = {style().font, bg, fg};
|
||||||
|
|
||||||
painter.draw_rectangle({r.location(), {r.size().width(), 1}}, Theme::getInstance()->fg_light->foreground);
|
painter.draw_rectangle({r.location(), {r.size().width(), 1}}, Theme::getInstance()->bg_light->background);
|
||||||
painter.draw_rectangle({r.location().x(), r.location().y() + r.size().height() - 1, r.size().width(), 1}, Theme::getInstance()->bg_dark->background);
|
painter.draw_rectangle({r.location().x(), r.location().y() + r.size().height() - 1, r.size().width(), 1}, Theme::getInstance()->bg_dark->background);
|
||||||
painter.draw_rectangle({r.location().x() + r.size().width() - 1, r.location().y(), 1, r.size().height()}, Theme::getInstance()->bg_dark->background);
|
painter.draw_rectangle({r.location().x() + r.size().width() - 1, r.location().y(), 1, r.size().height()}, Theme::getInstance()->bg_dark->background);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue