mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-01 19:16:29 -04:00
Hide ui::Rect implementation.
This commit is contained in:
parent
d15ace4676
commit
e820bed097
12 changed files with 52 additions and 42 deletions
|
@ -54,7 +54,7 @@ void MenuItemView::paint(Painter& painter) {
|
|||
);
|
||||
|
||||
painter.draw_string(
|
||||
{ r.pos.x() + 8, r.pos.y() + (r.size.height() - font_height) / 2 },
|
||||
{ r.left() + 8, r.top() + (r.height() - font_height) / 2 },
|
||||
paint_style,
|
||||
item.text
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue