]> git.saurik.com Git - winterboard.git/commitdiff
Use the older drawRect: algorithm in SummerBoard mode.
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 11 Mar 2012 20:49:33 +0000 (20:49 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Sun, 11 Mar 2012 20:49:33 +0000 (20:49 +0000)
Library.mm

index 814de11c865a5b671c02fbb82b7288b56b3ece73..42e2fc0df9465bd43a3be2358993248e935dd9a3 100644 (file)
@@ -1922,7 +1922,7 @@ static void SBInitialize() {
     WBRename(SBDockIconListView, setFrame:, setFrame$);
     MSHookMessage(object_getClass($SBDockIconListView), @selector(shouldShowNewDock), &$SBDockIconListView$shouldShowNewDock, &_SBDockIconListView$shouldShowNewDock);
 
-    if (kCFCoreFoundationVersionNumber < 600)
+    if (kCFCoreFoundationVersionNumber < 600 || SummerBoard_)
         WBRename(SBIconLabel, drawRect:, drawRect$);
     else
         WBRename(SBIconLabel, buildLabelImage, buildLabelImage);