mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-11 17:16:38 +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:
|
case PanWidthAutomation:
|
||||||
if (_route) {
|
if (_route) {
|
||||||
char buf[16];
|
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));
|
_surface->write (display (1, buf));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue