mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-10-21 15:10:51 +00:00
Hide ui::Size implementation.
This commit is contained in:
@@ -164,7 +164,7 @@ void RegistersWidget::update() {
|
||||
}
|
||||
|
||||
void RegistersWidget::paint(Painter& painter) {
|
||||
const Coord left = (size().w - config.row_width()) / 2;
|
||||
const Coord left = (size().width() - config.row_width()) / 2;
|
||||
|
||||
draw_legend(left, painter);
|
||||
draw_values(left, painter);
|
||||
|
Reference in New Issue
Block a user