Skip to content

Commit

Permalink
offset corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
DevyankShaw committed Dec 14, 2023
1 parent 6e92ffd commit 3385f38
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion example/lib/widgets/day_view_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ class DayViewWidget extends StatelessWidget {
showBullet: false,
showTime: true,
showTimeBackgroundView: true,
offset: 0,
),
);
}
Expand Down
2 changes: 1 addition & 1 deletion lib/src/painters.dart
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ class CurrentTimeLinePainter extends CustomPainter {
),
)
..layout()
..paint(canvas, Offset((offset.dx - 15) * 0.20, offset.dy - 6));
..paint(canvas, Offset(offset.dx - 62, offset.dy - 6));
}

@override
Expand Down

0 comments on commit 3385f38

Please sign in to comment.