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:
Nadine Salter
2014-10-21 16:49:19 -07:00
parent d01fb5f418
commit 367b6da116
6 changed files with 903 additions and 3492 deletions

View File

@@ -19,6 +19,7 @@
#import "ASThread.h"
BOOL ASDisplayNodeSubclassOverridesSelector(Class subclass, SEL selector);
CGFloat ASDisplayNodeScreenScale();
@class _ASPendingState;