mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-21 06:24:32 -04:00
fix: changes after review (see PR #176)
This commit is contained in:
@ -576,13 +576,6 @@ func (m *Notes) LowNibble() bool {
|
||||
return m.d.LowNibble
|
||||
}
|
||||
|
||||
func (m *Notes) Unique(t, p int) bool {
|
||||
if t < 0 || t >= len(m.cachePatternUseCount) || p < 0 || p >= len(m.cachePatternUseCount[t]) {
|
||||
return false
|
||||
}
|
||||
return m.cachePatternUseCount[t][p] == 1
|
||||
}
|
||||
|
||||
func (m *Notes) SetValue(p Point, val byte) {
|
||||
defer m.change("SetValue", MinorChange)()
|
||||
if p.Y < 0 || p.X < 0 || p.X >= len(m.d.Song.Score.Tracks) {
|
||||
|
Reference in New Issue
Block a user