From 3ed5bf62634a5968af360b3de51791e7c526f732 Mon Sep 17 00:00:00 2001 From: Matei Martin Date: Wed, 1 May 2024 05:31:04 -0400 Subject: [PATCH] add check to keep time in timeline if nothing causes overlap (#343) --- lib/src/components/_internal_components.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/src/components/_internal_components.dart b/lib/src/components/_internal_components.dart index ef1466fe..7c2235d7 100644 --- a/lib/src/components/_internal_components.dart +++ b/lib/src/components/_internal_components.dart @@ -271,7 +271,9 @@ class _TimeLineState extends State { }) { return Visibility( visible: !((_currentTime.minute >= 45 && _currentTime.hour == hour - 1) || - (_currentTime.minute <= 15 && _currentTime.hour == hour)), + (_currentTime.minute <= 15 && _currentTime.hour == hour)) || + !(widget.liveTimeIndicatorSettings.showTime || + widget.liveTimeIndicatorSettings.showTimeBackgroundView), child: Positioned( top: topPosition, left: 0,