summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-10 22:46:20 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-10 22:46:20 -0800
commit53db99998b1cc4e9be0ab46337a2f4c7ed259605 (patch)
tree35dfcc3ffca443a49d6d82933093873bc6f7eda3
parentde595d9120dcfcb8e323faf5168bc11c971b1b45 (diff)
Fix swipe-to-delete animations on source cells.
-rw-r--r--MobileCydia.mm4
-rwxr-xr-xsysroot.sh2
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;
}
diff --git a/sysroot.sh b/sysroot.sh
index 5e87c3c..4815b24 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