mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-01 11:06:30 -04:00
Fix initial focus on ERT, TPMS apps.
This commit is contained in:
parent
cb403160b3
commit
07b8c6c661
4 changed files with 12 additions and 0 deletions
|
@ -257,6 +257,10 @@ TPMSAppView::~TPMSAppView() {
|
|||
EventDispatcher::message_map().unregister_handler(Message::ID::TPMSPacket);
|
||||
}
|
||||
|
||||
void TPMSAppView::focus() {
|
||||
recent_entries_view.focus();
|
||||
}
|
||||
|
||||
void TPMSAppView::set_parent_rect(const Rect new_parent_rect) {
|
||||
View::set_parent_rect(new_parent_rect);
|
||||
recent_entries_view.set_parent_rect({ 0, 0, new_parent_rect.width(), new_parent_rect.height() });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue