Skip to content

Commit

Permalink
Merge pull request #403 from SimformSolutionsPvtLtd/fix/386
Browse files Browse the repository at this point in the history
🐛 Fixes issue #386.
  • Loading branch information
PRBaraiya authored Sep 16, 2024
2 parents 76c5430 + a9d66c1 commit 73d880a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 14 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# [1.2.1 - Unreleased]

- Use `hourLinePainter` in `DayView` [#386](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/386)

# [1.2.0 - 10 May 2024](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/tree/1.2.0)

- Fixed issue when adding full-day events to WeekView, event is not display at correct date. [#259](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/259)
Expand Down
27 changes: 13 additions & 14 deletions lib/src/day_view/_internal_day_view_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -230,21 +230,20 @@ class _InternalDayViewPageState<T extends Object?>
children: [
CustomPaint(
size: Size(widget.width, widget.height),
painter: HourLinePainter(
lineColor: widget.hourIndicatorSettings.color,
lineHeight: widget.hourIndicatorSettings.height,
offset: widget.timeLineWidth +
painter: widget.hourLinePainter(
widget.hourIndicatorSettings.color,
widget.hourIndicatorSettings.height,
widget.timeLineWidth +
widget.hourIndicatorSettings.offset,
minuteHeight: widget.heightPerMinute,
verticalLineOffset: widget.verticalLineOffset,
showVerticalLine: widget.showVerticalLine,
lineStyle: widget.hourIndicatorSettings.lineStyle,
dashWidth: widget.hourIndicatorSettings.dashWidth,
dashSpaceWidth:
widget.hourIndicatorSettings.dashSpaceWidth,
emulateVerticalOffsetBy: widget.emulateVerticalOffsetBy,
startHour: widget.startHour,
endHour: widget.endHour,
widget.heightPerMinute,
widget.showVerticalLine,
widget.verticalLineOffset,
widget.hourIndicatorSettings.lineStyle,
widget.hourIndicatorSettings.dashWidth,
widget.hourIndicatorSettings.dashSpaceWidth,
widget.emulateVerticalOffsetBy,
widget.startHour,
widget.endHour,
),
),
if (widget.showHalfHours)
Expand Down

0 comments on commit 73d880a

Please sign in to comment.