From e3103661a9c84468c638c7493b6b66969703a694 Mon Sep 17 00:00:00 2001 From: ravilsimform <97508406+ravilsimform@users.noreply.github.com> Date: Sun, 24 Mar 2024 11:25:35 +0530 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9BonDateTap=20triggered=20issu?= =?UTF-8?q?e=20resolved=20by=20changing=20customPaint=20height=20#332.=20(?= =?UTF-8?q?#335)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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. --- CHANGELOG.md | 2 ++ lib/src/components/_internal_components.dart | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 362501ac..510f9bd6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/lib/src/components/_internal_components.dart b/lib/src/components/_internal_components.dart index a79111d9..79217757 100644 --- a/lib/src/components/_internal_components.dart +++ b/lib/src/components/_internal_components.dart @@ -86,7 +86,7 @@ class _LiveTimeIndicatorState extends State { ?.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,