mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
fix for MCP panner width - closes #6341
This commit is contained in:
parent
e8a0b1c514
commit
fb649f43ea
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue