From 6c14ada14d0b8ad506688503b623482c382eb27c Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sun, 11 Mar 2012 20:50:41 +0000 Subject: [PATCH] The new label drawing algorithm implies !SummerBoard_. --- Library.mm | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Library.mm b/Library.mm index 42e2fc0..8c76a03 100644 --- a/Library.mm +++ b/Library.mm @@ -1613,11 +1613,9 @@ MSInstanceMessage1(void, SBIconLabel, drawRect, CGRect, rect) { MSInstanceMessage0(CGImageRef, SBIconLabel, buildLabelImage) { bool docked((MSHookIvar(self, "_inDock") & 0x2) != 0); - WBStringDrawingState labelState = {NULL, 0, [NSString stringWithFormat:@"" - "color: %@;" - , - (docked || !SummerBoard_ ? @"white" : @"#b3b3b3") - ], docked ? @"DockedIconLabelStyle" : @"UndockedIconLabelStyle"}; + WBStringDrawingState labelState = {NULL, 0, @"" + "color: white;" + , docked ? @"DockedIconLabelStyle" : @"UndockedIconLabelStyle"}; stringDrawingState_ = &labelState; -- 2.45.2