Liquid Glass and Apple Music touches for the Spotify iOS app. A GPL-3.0 fork of spoti.pw 0.21.1.
C
fix: lyrics opened again after a scroll show the line being sung
My-Name-Is-Jeff72de07ee76a0
diff --git a/tweak/Sources/Redesigned/Lyrics/SGRKaraokeView.m b/tweak/Sources/Redesigned/Lyrics/SGRKaraokeView.mindex 51f716eb..f5fea5cb 100644--- a/tweak/Sources/Redesigned/Lyrics/SGRKaraokeView.m+++ b/tweak/Sources/Redesigned/Lyrics/SGRKaraokeView.m@@ -1583,8 +1583,11 @@ typedef struct {- (void)didMoveToWindow {[super didMoveToWindow];if (!self.window) {+ // The scroll goes back with the browsing: lines are placed for an offset of 0, and one left from a page+ // scrolled and closed before followSong drew every line off the anchor, none of them lit.[NSObject cancelPreviousPerformRequestsWithTarget:self selector:@selector(followSong) object:nil];_browsing = NO;+ _scroll.contentOffset = CGPointZero;}[self scheduleLink];}@@ -2259,6 +2262,7 @@ static BOOL anyUntranslated(NSArray<SGKaraokeLine *> *lines) {if (showing == _showing) return;_showing = showing;self.hidden = !showing;+ if (showing && !_browsing) _scroll.contentOffset = CGPointZero;_credit.hidden = !showing || !_credit.text.length;for (UIView *sibling in self.superview.subviews) {if (sibling != self) sibling.alpha = showing ? 0 : 1;