mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-11 06:55:23 +00:00
[ASButtonNode] Pass through setDisplaysAsynchronously: to subnodes (image and title).
This commit is contained in:
parent
ebfbfab976
commit
affb786a14
@ -72,6 +72,13 @@
|
|||||||
[self updateTitle];
|
[self updateTitle];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void)setDisplaysAsynchronously:(BOOL)displaysAsynchronously
|
||||||
|
{
|
||||||
|
[super setDisplaysAsynchronously:displaysAsynchronously];
|
||||||
|
[self.imageNode setDisplaysAsynchronously:displaysAsynchronously];
|
||||||
|
[self.titleNode setDisplaysAsynchronously:displaysAsynchronously];
|
||||||
|
}
|
||||||
|
|
||||||
- (void)updateImage
|
- (void)updateImage
|
||||||
{
|
{
|
||||||
ASDN::MutexLocker l(_propertyLock);
|
ASDN::MutexLocker l(_propertyLock);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user