mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 06:05:43 +01:00
Display shuttle speed in percentage rather than fraction. Fixes #1939.
git-svn-id: svn://localhost/ardour2/branches/3.0@6931 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
813037f5da
commit
1fb2cc7ab1
1 changed files with 1 additions and 1 deletions
|
|
@ -880,7 +880,7 @@ ARDOUR_UI::update_speed_display ()
|
|||
|
||||
if (x != 0) {
|
||||
if (Config->get_shuttle_units() == Percentage) {
|
||||
snprintf (buf, sizeof (buf), "%.2f", x);
|
||||
snprintf (buf, sizeof (buf), "%d", (int) round (x * 100));
|
||||
} else {
|
||||
|
||||
if (x < 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue