]> git.saurik.com Git - winterboard.git/commitdiff
The new label drawing algorithm implies !SummerBoard_.
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 11 Mar 2012 20:50:41 +0000 (20:50 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Sun, 11 Mar 2012 20:50:41 +0000 (20:50 +0000)
Library.mm

index 42e2fc0df9465bd43a3be2358993248e935dd9a3..8c76a03998b976763c5fcecbe51bb16a318f56af 100644 (file)
@@ -1613,11 +1613,9 @@ MSInstanceMessage1(void, SBIconLabel, drawRect, CGRect, rect) {
 MSInstanceMessage0(CGImageRef, SBIconLabel, buildLabelImage) {
     bool docked((MSHookIvar<unsigned>(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;