From d88ec8c2f06c55a01395fcdab0b816b717d9c685 Mon Sep 17 00:00:00 2001 From: JF Date: Mon, 2 Mar 2020 20:48:58 +0100 Subject: Workaround for the first touch that is taken twice into account. --- src/DisplayApp/LittleVgl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/DisplayApp/LittleVgl.h') diff --git a/src/DisplayApp/LittleVgl.h b/src/DisplayApp/LittleVgl.h index e356a89c..40fb1809 100644 --- a/src/DisplayApp/LittleVgl.h +++ b/src/DisplayApp/LittleVgl.h @@ -92,6 +92,8 @@ namespace Pinetime { lv_style_t win_bg; lv_style_t win_header; lv_style_t win_btn_pr; + + bool firstTouch = true; }; } } -- cgit v1.2.3