mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-10-17 09:11:49 +00:00
Disable Back button during Touch Calibration (#2115)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user