Skip to content

Commit 2829f74

Browse files
committed
Merge branch 'master' of github.com:jonathantribouharet/JTCalendar
2 parents 3966304 + 21f669a commit 2829f74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JTCalendar/JTCalendarDayView.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ - (void)configureConstraintsForSubviews
121121
circleView.layer.cornerRadius = sizeCircle / 2.;
122122

123123
dotView.frame = CGRectMake(0, 0, sizeDot, sizeDot);
124-
dotView.center = CGPointMake(self.frame.size.width / 2., (self.frame.size.height / 2.) + sizeDot * 2.5);
124+
dotView.center = CGPointMake(self.frame.size.width / 2., (self.frame.size.height / 2.) + sizeCircle / 2 - sizeDot / 2);
125125
dotView.layer.cornerRadius = sizeDot / 2.;
126126
}
127127

0 commit comments

Comments
 (0)