mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-13 20:35:42 +00:00
@@ -722,8 +722,8 @@ void NavigationView::update_view() {
|
||||
auto top_view = top.view.get();
|
||||
|
||||
add_child(top_view);
|
||||
top_view->set_parent_rect({{0, 0}, size()});
|
||||
|
||||
auto newSize = (is_top()) ? Size{size().width(), size().height() - 16} : size(); // if top(), then there is the info bar at the bottom, so leave space for it
|
||||
top_view->set_parent_rect({{0, 0}, newSize});
|
||||
focus();
|
||||
set_dirty();
|
||||
|
||||
|
Reference in New Issue
Block a user