mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-31 18:30:12 +00:00
* Before truncate a text storage in ASTextKitContext reset the text storage to original value * Fix ASTextNode tests We should pass in the constrained size in both cases and the sizes should be the same. We adjust the calculated size in ASTextNode to be a bit narrower in the second case if we truncate again with the calculated size as constrained size it will truncate more and the resulting size will shrink.
2.7 KiB
Executable File
2.7 KiB
Executable File