Skip to content

Commit

Permalink
修改刻度偏移
Browse files Browse the repository at this point in the history
  • Loading branch information
xinyue committed Apr 4, 2019
1 parent 02c2faa commit 65222bf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file not shown.
2 changes: 1 addition & 1 deletion Sundial/Sundial.m
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ - (DialView *)secondDialView {
if (!_secondDialView) {

NSPoint point = NSMakePoint(self.frame.size.width/2, self.frame.size.height/2);
_secondDialView = [[DialView alloc] initWithRadius:self.bounds.size.height/2-30*_rate center:point minRadius:self.bounds.size.height/2-50*_rate startAngle:360.0/60*M_PI/180];
_secondDialView = [[DialView alloc] initWithRadius:self.bounds.size.height/2-30*_rate center:point minRadius:self.bounds.size.height/2-50*_rate startAngle:360.0/96*M_PI/180];
}
return _secondDialView;
}
Expand Down

0 comments on commit 65222bf

Please sign in to comment.