Skip to content

Commit

Permalink
add check to keep time in timeline if nothing causes overlap
Browse files Browse the repository at this point in the history
  • Loading branch information
mataai committed Apr 12, 2024
1 parent e310366 commit cee9842
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/src/components/_internal_components.dart
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,9 @@ class _TimeLineState extends State<TimeLine> {
}) {
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,
Expand Down

0 comments on commit cee9842

Please sign in to comment.