react-native-gizwits-scroll-ruler 1.0.10 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -550,10 +550,12 @@
|
|
|
550
550
|
[self.unitLab setFrame:CGRectMake(halfWidth+15, 18, 40, 30)];
|
|
551
551
|
|
|
552
552
|
if(self.headerView){
|
|
553
|
-
[self.
|
|
553
|
+
[self.headerView setFrame:CGRectMake(0, 0, halfWidth, CollectionHeight)];
|
|
554
|
+
[self.headerView setNeedsDisplay];
|
|
554
555
|
}
|
|
555
556
|
if(self.footerView){
|
|
556
557
|
[self.footerView setFrame:CGRectMake(0, 0, halfWidth, CollectionHeight)];
|
|
558
|
+
[self.footerView setNeedsDisplay];
|
|
557
559
|
}
|
|
558
560
|
|
|
559
561
|
CGFloat x = halfWidth-self.triangle.frame.size.width/2;
|