Skip to content

Commit

Permalink
Static Popup Background Color Fix
Browse files Browse the repository at this point in the history
Fixes Boris-Em#120, an issue where colorBackgroundPopUplabel would not work
when alwaysDisplayPopUpLabels = YES
Sam Spencer committed Apr 20, 2015
1 parent 34ccffe commit bf9a97f
Showing 2 changed files with 106 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Classes/BEMSimpleLineGraphView.m
Original file line number Diff line number Diff line change
@@ -1104,7 +1104,7 @@ - (void)displayPermanentLabelForPoint:(BEMCircle *)circleDot {
permanentPopUpLabel.alpha = 0;

BEMPermanentPopupView *permanentPopUpView = [[BEMPermanentPopupView alloc] initWithFrame:CGRectMake(0, 0, permanentPopUpLabel.frame.size.width + 7, permanentPopUpLabel.frame.size.height + 2)];
permanentPopUpView.backgroundColor = [UIColor whiteColor];
permanentPopUpView.backgroundColor = self.colorBackgroundPopUplabel;
permanentPopUpView.alpha = 0;
permanentPopUpView.layer.cornerRadius = 3;
permanentPopUpView.tag = PermanentPopUpViewTag3100;
Loading
Oops, something went wrong.

0 comments on commit bf9a97f

Please sign in to comment.