mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
Various fixes
This commit is contained in:
@@ -1654,7 +1654,7 @@ open class TextNode: ASDisplayNode {
|
||||
return (layout, {
|
||||
node.cachedLayout = layout
|
||||
if updated {
|
||||
if layout.size.width.isZero && layout.size.height.isZero {
|
||||
if layout.size.width.isZero || layout.size.height.isZero {
|
||||
node.contents = nil
|
||||
}
|
||||
node.setNeedsDisplay()
|
||||
|
||||
Reference in New Issue
Block a user