Liquid Glass and Apple Music touches for the Spotify iOS app. A GPL-3.0 fork of spoti.pw 0.21.1.
C
test: the lyrics harness checks that the sweep's mask leaves the glow room
My-Name-Is-Jeff8e3eb4c82813
diff --git a/harness/lyrics/main.m b/harness/lyrics/main.mindex 8028084b..ab51185f 100644--- a/harness/lyrics/main.m+++ b/harness/lyrics/main.m@@ -458,6 +458,12 @@ static void runChecks(SGRKaraokeView *karaoke, UIView *host) {CGFloat first = letters.firstObject.transform.ty, last = letters.lastObject.transform.ty;expect(letters.count == 4 && first < -1.5 && last > first + 0.25,[NSString stringWithFormat:@"its %lu letters rise in a wave (first %.2f, last %.2f)", (unsigned long)letters.count, first, last]);+ // Sung through, the sweep's mask still leaves the glow room past the word on every side (issue #68).+ ((void (*)(id, SEL, double))objc_msgSend)(lineView, NSSelectorFromString(@"showTime:"), line.words.lastObject.end + 100.0);+ CGRect room = lit.layer.mask.frame;+ expect(CGRectGetMinX(room) <= -30 && CGRectGetMinY(room) <= -30 && CGRectGetMaxY(room) >= lit.bounds.size.height + 30,+ [NSString stringWithFormat:@"sung through, the sweep's mask leaves the glow room past the word (%@)", NSStringFromCGRect(room)]);+ glow = lit.layer.shadowOpacity;[lineView setValue:@NO forKey:@"active"];expect(lit.layer.shadowOpacity == glow, @"the glow stays on as its line goes out, for the fade to carry it");after(0.8, ^{