fix for MCP panner width - closes #6341
This commit is contained in:
parent
e8a0b1c514
commit
fb649f43ea
@ -632,7 +632,7 @@ Strip::do_parameter_display (AutomationType type, float val)
|
||||
case PanWidthAutomation:
|
||||
if (_route) {
|
||||
char buf[16];
|
||||
snprintf (buf, sizeof (buf), "%5ld%%", lrintf (val * 100.0));
|
||||
snprintf (buf, sizeof (buf), "%5ld%%", lrintf ((val * 200.0)-100));
|
||||
_surface->write (display (1, buf));
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user