|
@@ -76,7 +76,7 @@
|
|
|
if (self = [super init]) {
|
|
|
self.annotManage = annotationManage;
|
|
|
|
|
|
- self.backgroundColor = [CPDFColorUtils CPDFViewControllerBackgroundColor];
|
|
|
+ self.backgroundColor = [CPDFColorUtils CAnnotationBarNoSelectBackgroundColor];
|
|
|
|
|
|
UIView *line = [[UIView alloc] initWithFrame:CGRectMake(0, 0, self.frame.size.width, 1)];
|
|
|
line.backgroundColor = [UIColor colorWithRed:210.0/255.0 green:210.0/255.0 blue:210.0/255.0 alpha:1.0];
|
|
@@ -118,7 +118,7 @@
|
|
|
for (NSInteger i = 0; i< self.annotationBtns.count; i++) {
|
|
|
CPDFAnnotationBarButton *button = [self.annotationBtns objectAtIndex:i];
|
|
|
if(button.tag == self.selectedIndex) {
|
|
|
- button.backgroundColor = [UIColor clearColor];
|
|
|
+ button.backgroundColor = [CPDFColorUtils CAnnotationBarNoSelectBackgroundColor];
|
|
|
self.selectedIndex = 0;
|
|
|
break;
|
|
|
}
|
|
@@ -131,7 +131,7 @@
|
|
|
button.backgroundColor = [CPDFColorUtils CAnnotationBarSelectBackgroundColor];
|
|
|
self.selectedIndex = button.tag;
|
|
|
} else {
|
|
|
- button.backgroundColor = [UIColor clearColor];
|
|
|
+ button.backgroundColor = [CPDFColorUtils CAnnotationBarNoSelectBackgroundColor];
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -338,7 +338,7 @@
|
|
|
}
|
|
|
self.pdfListView.annotationMode = CPDFViewAnnotationModeNone;
|
|
|
self.selectedIndex = 0;
|
|
|
- button.backgroundColor = [UIColor clearColor];
|
|
|
+ button.backgroundColor = [CPDFColorUtils CAnnotationBarNoSelectBackgroundColor];
|
|
|
isSelect = NO;
|
|
|
}
|
|
|
|