]> git.saurik.com Git - cydia.git/commitdiff
Fix text width of editing section cells on iOS 7.
authorJay Freeman (saurik) <saurik@saurik.com>
Mon, 30 Sep 2013 11:23:39 +0000 (04:23 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 30 Sep 2013 11:23:39 +0000 (04:23 -0700)
MobileCydia.mm

index ef92bc45d11f131ca534ca34ef8b13b8da8bcf1a..661e402dc8f3cef0d4bb7ed1d84af55be0748b3d 100644 (file)
@@ -5839,7 +5839,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
 
     float width(rect.size.width);
     if (editing_)
 
     float width(rect.size.width);
     if (editing_)
-        width -= 87;
+        width -= 9 + [switch_ frame].size.width;
 
     if (!highlighted)
         UISetColor(Black_);
 
     if (!highlighted)
         UISetColor(Black_);