mirror of
https://github.com/TextureGroup/Texture.git
synced 2026-04-07 19:17:39 +00:00
Change some invalidateCalculatedLayout to setNeedsLayout calls
This commit is contained in:
@@ -415,7 +415,7 @@
|
||||
[_textKitComponents.textStorage setAttributedString:attributedStringToDisplay];
|
||||
|
||||
// Calculated size depends on the seeded text.
|
||||
[self invalidateCalculatedLayout];
|
||||
[self setNeedsLayout];
|
||||
|
||||
// Update if placeholder is shown.
|
||||
[self _updateDisplayingPlaceholder];
|
||||
|
||||
Reference in New Issue
Block a user