Commit 01cad64 1 parent c35d197 commit 01cad64 Copy full SHA for 01cad64
File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,10 @@ -(void) expandToOffset:(CGFloat) offset button:(NSInteger) index
138
138
_expansionBackground = [[UIView alloc ] initWithFrame: [self expansionBackgroundRect: _expandedButton]];
139
139
_expansionBackground.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
140
140
_expansionBackground.backgroundColor = _expandedButton.backgroundColor ;
141
+ if (UIColor.clearColor == _expandedButton.backgroundColor ) {
142
+ // Provides access to more complex content for display on the background
143
+ _expansionBackground.layer .contents = _expandedButton.layer .contents ;
144
+ }
141
145
[_container addSubview: _expansionBackground];
142
146
143
147
CGFloat duration = _fromLeft ? _cell.leftExpansion .animationDuration : _cell.rightExpansion .animationDuration ;
You can’t perform that action at this time.
0 commit comments