mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
ASButtonNode sets its subnodes as layer backed, but itelf should not be layer backed
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
- (NSAttributedString * _Nullable)attributedTitleForState:(ASControlState)state;
|
||||
|
||||
/**
|
||||
* Sets the styled title to use for the specified state.
|
||||
* Sets the styled title to use for the specified state. This will reset styled title previously set with -setTitle:withFont:withColor:forState.
|
||||
*
|
||||
* @param title The styled text string to use for the title.
|
||||
* @param state The state that uses the specified title. The possible values are described in ASControlState.
|
||||
@@ -55,7 +55,7 @@
|
||||
- (void)setAttributedTitle:(nullable NSAttributedString *)title forState:(ASControlState)state;
|
||||
|
||||
/**
|
||||
* Sets the title to use for the specified state.
|
||||
* Sets the title to use for the specified state. This will reset styled title previously set with -setAttributedTitle:forState.
|
||||
*
|
||||
* @param title The styled text string to use for the title.
|
||||
* @param font The font to use for the title.
|
||||
|
||||
Reference in New Issue
Block a user