mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-31 01:42:18 +00:00
* Add Yoga support to ASButtonNode * Drop unowned ASLayoutElementStyle parameter * Fix access of Yoga properties * Move ASButtonNode Yoga logic to Category * Update header
21 lines
372 B
Objective-C
21 lines
372 B
Objective-C
//
|
|
// ASButtonNode+Yoga.h
|
|
// Texture
|
|
//
|
|
// Copyright (c) Pinterest, Inc. All rights reserved.
|
|
// Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <AsyncDisplayKit/ASButtonNode.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface ASButtonNode (Yoga)
|
|
|
|
- (void)updateYogaLayoutIfNeeded;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|