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.footerView setFrame:CGRectMake(0, 0, halfWidth, CollectionHeight)];
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-gizwits-scroll-ruler",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "ReactNative版选择身高体重的横向刻度尺组件,兼容Android和iOS",
5
5
  "main": "index.js",
6
6
  "scripts": {