Disable DoubleTap when settings buttons are displayed
This commit is contained in:
parent
1c86796eac
commit
c4ab17f587
|
@ -306,6 +306,9 @@ bool PineTimeStyle::OnTouchEvent(Pinetime::Applications::TouchEvents event) {
|
||||||
savedTick = lv_tick_get();
|
savedTick = lv_tick_get();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
if ((event == Pinetime::Applications::TouchEvents::DoubleTap) && (lv_obj_get_hidden(btnRandom) == false)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue