diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-10 22:46:20 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-10 22:46:20 -0800 |
commit | 53db99998b1cc4e9be0ab46337a2f4c7ed259605 (patch) | |
tree | 35dfcc3ffca443a49d6d82933093873bc6f7eda3 | |
parent | de595d9120dcfcb8e323faf5168bc11c971b1b45 (diff) |
Fix swipe-to-delete animations on source cells.
-rw-r--r-- | MobileCydia.mm | 4 | ||||
-rwxr-xr-x | sysroot.sh | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index 4d3c5c6..c2d6b5e 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -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; } @@ -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 |