]> git.saurik.com Git - cydia.git/commitdiff
Re-added section counts and icons in editing mode.
authorGrant Paul <chpwn@chpwn.com>
Sat, 11 Jun 2011 06:40:27 +0000 (23:40 -0700)
committerGrant Paul <chpwn@chpwn.com>
Sun, 10 Jul 2011 10:47:10 +0000 (03:47 -0700)
MobileCydia.mm

index 9e2dcc00bc4cfc1c5e8aae32b307dca3a8e6d189..e79cde705fdb40a368fabb42c6391c75f5de22e9 100644 (file)
@@ -5870,12 +5870,12 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
     float left(indent_);
     float width(rect.size.width - left);
     if (editing_)
-        width -= 109;
-    else {
+        width -= 149;
+    else
         width -= 62;
-           [icon_ drawInRect:CGRectMake(indent_, 7, 32, 32)];
-           left += 40;
-    }
+
+    [icon_ drawInRect:CGRectMake(indent_, 7, 32, 32)];
+       left += 40;
 
     UISetColor(highlighted ? White_ : Black_);
     [name_ drawAtPoint:CGPointMake(left, 9) forWidth:width withFont:Font22Bold_ lineBreakMode:UILineBreakModeTailTruncation];
@@ -5883,7 +5883,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
     CGSize size = [count_ sizeWithFont:Font14_];
 
     UISetColor(White_);
-    if (count_ != nil && !editing_)
+    if (count_ != nil)
         [count_ drawAtPoint:CGPointMake(indent_ + 5 + (29 - size.width) / 2, 16) withFont:Font12Bold_];
 }