mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-20 14:04:34 -04:00
feat(tracker): reduce speed of parameter changes when ctrl pressed
This commit is contained in:
parent
0ce79978d5
commit
5841848813
@ -342,7 +342,7 @@ func (n *namedParameter) RoundToGrid(p *Parameter, val int, up bool) int {
|
||||
if p.up.Name == "transpose" {
|
||||
return roundToGrid(val-64, 12, up) + 64
|
||||
}
|
||||
return roundToGrid(val, 16, up)
|
||||
return roundToGrid(val, 8, up)
|
||||
}
|
||||
func (n *namedParameter) Reset(p *Parameter) {
|
||||
v, ok := defaultUnits[p.unit.Type].Parameters[p.up.Name]
|
||||
|
Reference in New Issue
Block a user