this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

#2383: fixed track number switching (#2442)

authored by

Vadim Grigoruk and committed by
GitHub
65d66d8a f83a769e

+1 -1
+1 -1
src/studio/editors/music.c
··· 1590 1590 1591 1591 static void setIndex(Music* music, s32 value) 1592 1592 { 1593 - music->track = CLAMP(value, 0, MUSIC_TRACKS-1); 1593 + music->track = (value + MUSIC_TRACKS) % MUSIC_TRACKS; 1594 1594 } 1595 1595 1596 1596 static void setTempo(Music* music, s32 value)