mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Use ASDisplayNodeScreenScale().
ASImageNode and ASHighlightOverlayLayer were both using [[UIScreen mainScreen] scale] directly. Bad. No cookie. Use ASDisplayNodeScreenScale() instead. (Also, regenerate Xcode project with Xcode 6 and current CocoaPods.)
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#import "ASThread.h"
|
||||
|
||||
BOOL ASDisplayNodeSubclassOverridesSelector(Class subclass, SEL selector);
|
||||
CGFloat ASDisplayNodeScreenScale();
|
||||
|
||||
@class _ASPendingState;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user