diff options
-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 |