]> git.saurik.com Git - cydia.git/commitdiff
Fix swipe-to-delete animations on source cells.
authorJay Freeman (saurik) <saurik@saurik.com>
Fri, 11 Mar 2011 06:46:20 +0000 (22:46 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Fri, 11 Mar 2011 06:46:20 +0000 (22:46 -0800)
MobileCydia.mm
sysroot.sh

index 4d3c5c684c35fe62dc2cf4e9924ae36ce09b59da..c2d6b5ea3277502cb5c5f0e191cd4ccba497f0c8 100644 (file)
@@ -66,6 +66,8 @@
 
 #include <IOKit/IOKitLib.h>
 
+#include <QuartzCore/CALayer.h>
+
 #include <WebCore/WebCoreThread.h>
 
 #include <algorithm>
@@ -8059,6 +8061,8 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
 
         [content_ setDelegate:self];
         [content_ setOpaque:YES];
+
+        [[content_ layer] setContentsGravity:kCAGravityTopLeft];
     } return self;
 }
 
index 5e87c3c432b3d6fd92f2efd5cc904d2624b1cab1..4815b242f375d9f9ce777286b5fcc64c73e96e18 100755 (executable)
@@ -119,7 +119,7 @@ else
     ')
 fi
 
-for framework in ApplicationServices CoreServices IOKit IOSurface JavaScriptCore QuartzCore WebKit; do
+for framework in ApplicationServices CoreServices IOKit IOSurface JavaScriptCore WebKit; do
     ln -s /System/Library/Frameworks/"${framework}".framework/Headers "${framework}"
 done