mirror of
https://github.com/vsariola/sointu.git
synced 2026-08-16 22:56:58 -04:00
refactor(tracker): rename Notetracking to Follow
Notetracking was used in two completely different meanings: the pitch/bpm notetracking in the delay unit and the cursor follow in when playing. The word for the second meaning was changed to Follow, to avoid confusion.
This commit is contained in:
+2
-2
@@ -59,7 +59,7 @@ type (
|
||||
playing bool
|
||||
playPosition sointu.SongPos
|
||||
loop Loop
|
||||
noteTracking bool
|
||||
follow bool
|
||||
quitted bool
|
||||
|
||||
cachePatternUseCount [][]int
|
||||
@@ -327,7 +327,7 @@ func (m *Model) ProcessPlayerMessage(msg PlayerMsg) {
|
||||
m.voiceLevels = msg.VoiceLevels
|
||||
m.avgVolume = msg.AverageVolume
|
||||
m.peakVolume = msg.PeakVolume
|
||||
if m.playing && m.noteTracking {
|
||||
if m.playing && m.follow {
|
||||
m.d.Cursor.SongPos = msg.SongPosition
|
||||
m.d.Cursor2.SongPos = msg.SongPosition
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user