mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-05-28 06:25:37 +08:00
Revert the giant layout diff
This commit is contained in:
@@ -77,7 +77,7 @@ static const CGFloat kInnerPadding = 10.0f;
|
||||
// kitten image, with a solid background colour serving as placeholder
|
||||
_imageNode = [[ASNetworkImageNode alloc] init];
|
||||
_imageNode.backgroundColor = ASDisplayNodeDefaultPlaceholderColor();
|
||||
_imageNode.size = ASRelativeSizeRangeMakeWithExactCGSize(_kittenSize);
|
||||
_imageNode.preferredFrameSize = _kittenSize;
|
||||
[_imageNode addTarget:self action:@selector(imageTapped:) forControlEvents:ASControlNodeEventTouchUpInside];
|
||||
|
||||
CGFloat scale = [UIScreen mainScreen].scale;
|
||||
|
||||
Reference in New Issue
Block a user