mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-28 03:03:59 -04:00
Hide ui::Rect implementation.
This commit is contained in:
parent
d15ace4676
commit
e820bed097
12 changed files with 52 additions and 42 deletions
|
@ -140,7 +140,7 @@ public:
|
|||
const auto r = screen_rect();
|
||||
const auto& s = style();
|
||||
|
||||
Rect target_rect { r.pos, { r.width(), s.font.line_height() }};
|
||||
Rect target_rect { r.location(), { r.width(), s.font.line_height() }};
|
||||
const size_t visible_item_count = r.height() / s.font.line_height();
|
||||
|
||||
auto selected = find(recent, selected_key);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue