From cee984279cc88e27b3496f4bda94bf712a990ba9 Mon Sep 17 00:00:00 2001 From: Matai Date: Fri, 12 Apr 2024 12:11:31 -0400 Subject: [PATCH] add check to keep time in timeline if nothing causes overlap --- 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 79217757..88e64b10 100644 --- a/lib/src/components/_internal_components.dart +++ b/lib/src/components/_internal_components.dart @@ -262,7 +262,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,