mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
[ASInternalHelpers] Improve spacing
This commit is contained in:
@@ -51,9 +51,9 @@ ASDISPLAYNODE_INLINE void ASPerformBlockWithoutAnimation(BOOL withoutAnimation,
|
||||
|
||||
ASDISPLAYNODE_INLINE void ASBoundsAndPositionForFrame(CGRect rect, CGPoint origin, CGPoint anchorPoint, CGRect *bounds, CGPoint *position)
|
||||
{
|
||||
*bounds = (CGRect){ origin, rect.size };
|
||||
*position = CGPointMake(rect.origin.x + rect.size.width * anchorPoint.x,
|
||||
rect.origin.y + rect.size.height * anchorPoint.y);
|
||||
*bounds = (CGRect){ origin, rect.size };
|
||||
*position = CGPointMake(rect.origin.x + rect.size.width * anchorPoint.x,
|
||||
rect.origin.y + rect.size.height * anchorPoint.y);
|
||||
}
|
||||
|
||||
@interface NSIndexPath (ASInverseComparison)
|
||||
|
||||
Reference in New Issue
Block a user