File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1994,13 +1994,13 @@ -(void)layoutSubviews
1994
1994
1995
1995
if (supv.wrapContentHeight )
1996
1996
{
1997
- superBounds.size .height = lsc.myTop + newSelfSize.height + lsc.myBottom ;
1997
+ superBounds.size .height = [ self myValidMeasure: supv.heightSizeInner sbv: supv calcSize: lsc.myTop + newSelfSize.height + lsc.myBottom sbvSize: superBounds.size selfLayoutSize: newSelfSize] ;
1998
1998
superCenter.y += (superBounds.size .height - supv.bounds .size .height ) * supv.layer .anchorPoint .y ;
1999
1999
}
2000
2000
2001
2001
if (supv.wrapContentWidth )
2002
2002
{
2003
- superBounds.size .width = lsc.myLeading + newSelfSize.width + lsc.myTrailing ;
2003
+ superBounds.size .width = [ self myValidMeasure: supv.widthSizeInner sbv: supv calcSize: lsc.myLeading + newSelfSize.width + lsc.myTrailing sbvSize: superBounds.size selfLayoutSize: newSelfSize] ;
2004
2004
superCenter.x += (superBounds.size .width - supv.bounds .size .width ) * supv.layer .anchorPoint .x ;
2005
2005
}
2006
2006
@@ -3308,6 +3308,7 @@ -(void)myUpdateBorderLayer:(CAShapeLayer**)ppLayer withBorderline:(MyBorderline*
3308
3308
if ( *ppLayer == nil )
3309
3309
{
3310
3310
*ppLayer = [[CAShapeLayer alloc ] init ];
3311
+ (*ppLayer).zPosition = 10000 ;
3311
3312
(*ppLayer).delegate = self;
3312
3313
[_layout.layer addSublayer: *ppLayer];
3313
3314
}
You can’t perform that action at this time.
0 commit comments