From 0c1dd93d012231ef216784df62937a1319cfe380 Mon Sep 17 00:00:00 2001 From: Grant Paul Date: Fri, 10 Jun 2011 23:40:27 -0700 Subject: [PATCH] Re-added section counts and icons in editing mode. --- MobileCydia.mm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/MobileCydia.mm b/MobileCydia.mm index 9e2dcc00..e79cde70 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -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_]; } -- 2.50.0