Disable Back button during Touch Calibration (#2115)

This commit is contained in:
Mark Thompson
2024-04-21 01:34:55 -05:00
committed by GitHub
parent e7359563c6
commit 282e4da1cb
5 changed files with 28 additions and 1 deletions

View File

@@ -422,6 +422,10 @@ void SystemStatusView::set_back_enabled(bool new_value) {
}
}
void SystemStatusView::set_back_hidden(bool new_value) {
button_back.hidden(new_value);
}
void SystemStatusView::set_title_image_enabled(bool new_value) {
if (new_value) {
add_child(&button_title);
@@ -896,6 +900,9 @@ Context& SystemView::context() const {
NavigationView* SystemView::get_navigation_view() {
return &navigation_view;
}
SystemStatusView* SystemView::get_status_view() {
return &status_view;
}
void SystemView::toggle_overlay() {
static uint8_t last_perf_counter_status = shared_memory.request_m4_performance_counter;