From 66c7ead819fae7577d120ef7cb9a71f96a4d6e3e Mon Sep 17 00:00:00 2001 From: Akinboyewa Akindolani Date: Tue, 12 Nov 2019 15:35:49 +0000 Subject: [PATCH] Quick fixes based on comment (#5) * Some performance improvement updates. Suspends timer when LCD is off, and resume when it comes back. --- apps/clock-analog.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/clock-analog.js b/apps/clock-analog.js index 76199cae3..427a03db0 100644 --- a/apps/clock-analog.js +++ b/apps/clock-analog.js @@ -90,9 +90,6 @@ Bangle.on('gesture',function(gesture){ if (gesture && !Bangle.isLCDOn()) { clearTimers(); - g.clear(); - startTimers(); - drawWidgets(); Bangle.setLCDTimeout(30); Bangle.setLCDPower(true); }