mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-04-21 09:01:29 +00:00
parent
ff14008b43
commit
31082c63af
@ -1136,7 +1136,7 @@ void ButtonWithEncoder::paint(Painter& painter) {
|
||||
|
||||
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.size().width() - 1, r.location().y(), 1, r.size().height()}, Theme::getInstance()->bg_dark->background);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user