From 53db99998b1cc4e9be0ab46337a2f4c7ed259605 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Thu, 10 Mar 2011 22:46:20 -0800 Subject: [PATCH] Fix swipe-to-delete animations on source cells. --- MobileCydia.mm | 4 ++++ sysroot.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/MobileCydia.mm b/MobileCydia.mm index 4d3c5c68..c2d6b5ea 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -66,6 +66,8 @@ #include +#include + #include #include @@ -8059,6 +8061,8 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { [content_ setDelegate:self]; [content_ setOpaque:YES]; + + [[content_ layer] setContentsGravity:kCAGravityTopLeft]; } return self; } diff --git a/sysroot.sh b/sysroot.sh index 5e87c3c4..4815b242 100755 --- a/sysroot.sh +++ b/sysroot.sh @@ -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 -- 2.45.2