mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
adjust font size to make text fit within constrained size
# Conflicts: # AsyncDisplayKit/ASTextNode.mm
This commit is contained in:
@@ -10,9 +10,9 @@
|
||||
@interface ASTextNode ()
|
||||
|
||||
/**
|
||||
@abstract The minimum scale that the textnode can apply to fit long words.
|
||||
@default 0 (No scaling)
|
||||
@abstract An array of descending scale factors that will be applied to this text node to try to make it fit within its constrained size
|
||||
@default nil (no scaling)
|
||||
*/
|
||||
@property (nonatomic, assign) CGFloat minimumScaleFactor;
|
||||
@property (nonatomic, copy) NSArray *pointSizeScaleFactors;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user