mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-11-29 11:25:38 +00:00
Merge pull request #304 from facebook/issue-286
ASImageNode not opaque by default
This commit is contained in:
commit
e08975cbfa
@ -87,7 +87,7 @@
|
|||||||
// TODO can this be removed?
|
// TODO can this be removed?
|
||||||
self.contentsScale = ASDisplayNodeScreenScale();
|
self.contentsScale = ASDisplayNodeScreenScale();
|
||||||
self.contentMode = UIViewContentModeScaleAspectFill;
|
self.contentMode = UIViewContentModeScaleAspectFill;
|
||||||
self.opaque = YES;
|
self.opaque = NO;
|
||||||
|
|
||||||
_cropEnabled = YES;
|
_cropEnabled = YES;
|
||||||
_cropRect = CGRectMake(0.5, 0.5, 0, 0);
|
_cropRect = CGRectMake(0.5, 0.5, 0, 0);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user