From: Jay Freeman (saurik) Date: Thu, 20 Oct 2011 07:26:41 +0000 (+0000) Subject: Redraw labels as they move. X-Git-Tag: v0.9.3902~15 X-Git-Url: https://git.saurik.com/winterboard.git/commitdiff_plain/e965c1e5c828ed9a5d03a2448524fc67c9bef226 Redraw labels as they move. --- diff --git a/Library.mm b/Library.mm index f3e01ae..fa44fbb 100644 --- a/Library.mm +++ b/Library.mm @@ -1389,9 +1389,12 @@ MSHook(void, SBIconLabel$setInDock$, SBIconLabel *self, SEL sel, BOOL docked) { id &_label(MSHookIvar(self, "_label")); if (![Info_ wb$boolForKey:@"UndockedIconLabels"]) docked = true; + if (_label != nil && [_label respondsToSelector:@selector(setInDock:)]) [_label setInDock:docked]; - return _SBIconLabel$setInDock$(self, sel, docked); + + _SBIconLabel$setInDock$(self, sel, docked); + [self setNeedsDisplay]; } MSHook(BOOL, SBDockIconListView$shouldShowNewDock, id self, SEL sel) {