From d7f7d2b95d8e66ff89cae32d44a0e460907666bb Mon Sep 17 00:00:00 2001 From: thyttan <6uuxstm66@mozmail.comā©> Date: Sat, 31 Aug 2024 22:43:39 +0200 Subject: [PATCH] pomoplus: fix unintentional redraws when unlocking --- apps/pomoplus/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/pomoplus/app.js b/apps/pomoplus/app.js index c587a3b730..56275efb46 100644 --- a/apps/pomoplus/app.js +++ b/apps/pomoplus/app.js @@ -196,13 +196,14 @@ if (common.state.running) { } Bangle.on('lock', (on, reason) => { + if (graphicState==2) return; if (on) { hideButtons(); wu.hide(); } if (!on) { drawButtons(); - wu.show(); + if (graphicState==0) wu.show(); } });