Skip to content

Commit 00c2b8c

Browse files
committed
going for v0.3.0
1 parent a0ae1d2 commit 00c2b8c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

samples/melody/main.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,14 @@ def run(self):
263263
self.lyricLayer.setTextColor("blue")
264264
lyric = " " + lyric[2:]
265265
self.lyricLayer.print(lyric)
266+
if lyricRowIdx < len(Lyrics) - 1:
267+
lyricRow = Lyrics[lyricRowIdx + 1]
268+
self.lyricLayer.setCursor(0, 25)
269+
self.lyricLayer.setTextSize(12)
270+
self.lyricLayer.setTextColor("gray")
271+
for i, lyric in enumerate(lyricRow):
272+
lyric = " " + lyric[2:]
273+
self.lyricLayer.print(lyric)
266274
dd.playbackLayerCommands()
267275
if advance:
268276
if lyricColIdx < len(lyricRow) - 1:

0 commit comments

Comments
 (0)