Skip to content

Commit

Permalink
fix: 🐛onDateTap triggered issue resolved by changing customPaint height
Browse files Browse the repository at this point in the history
#332.

- The size of the LiveTimeLine's painting area is now determined by the screen size that I've adjusted, and it has been replaced by LiveTimeIndicatorSettings.height.
  • Loading branch information
ravilsimform committed Mar 19, 2024
1 parent 935198d commit 0e07c0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
- # [1.1.1] (UnReleased)
- Fixed issue related to onDateTap no triggered in WeekView and dayView. [#332](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/332)
# [1.1.0 - 28 Feb 2024](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/tree/1.1.0)
- Fixed issue related to Hiding Header [#299](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/pull/299)
- Fixed issue related to auto scroll to initial duration for day
Expand Down
2 changes: 1 addition & 1 deletion lib/src/components/_internal_components.dart
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class _LiveTimeIndicatorState extends State<LiveTimeIndicator> {
?.call(DateTime.now()) ??
'$currentHour:$currentMinute $currentPeriod';
return CustomPaint(
size: Size(widget.width, widget.height),
size: Size(widget.width, widget.liveTimeIndicatorSettings.height),
painter: CurrentTimeLinePainter(
color: widget.liveTimeIndicatorSettings.color,
height: widget.liveTimeIndicatorSettings.height,
Expand Down

0 comments on commit 0e07c0a

Please sign in to comment.