From 487205ef6a8e81fe887a1fcd72fee9c4de33c81f Mon Sep 17 00:00:00 2001 From: codingjourney Date: Sat, 30 Nov 2024 22:23:31 +0100 Subject: length of lap list adapting to available space --- src/displayapp/screens/StopWatch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/displayapp/screens/StopWatch.h') diff --git a/src/displayapp/screens/StopWatch.h b/src/displayapp/screens/StopWatch.h index dc69d5b4..51920f8b 100644 --- a/src/displayapp/screens/StopWatch.h +++ b/src/displayapp/screens/StopWatch.h @@ -44,7 +44,7 @@ namespace Pinetime::Applications { Pinetime::System::WakeLock wakeLock; Controllers::StopWatchController& stopWatchController; TickType_t blinkTime = 0; - static constexpr int displayedLaps = 2; + int displayedLaps = 3; lv_obj_t *time, *msecTime, *btnPlayPause, *btnStopLap, *txtPlayPause, *txtStopLap; lv_obj_t* lapText; bool hoursVisible = false; -- cgit v1.2.3-70-g09d2