Skip to content

Commit

Permalink
Merge branch 'master' into fix/387
Browse files Browse the repository at this point in the history
  • Loading branch information
PRBaraiya authored Sep 16, 2024
2 parents 193837f + 73d880a commit bf780fb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# [1.2.1 - Unreleased]

- Fixes issue in showing quarter hours when startHour is provided. [#387](https://github.com/SimformSolutionsPvtLtd/flutter_calendar_view/issues/387)
- 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)

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 bf780fb

Please sign in to comment.