summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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