mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
change appearance of panner data popup slightly (fixed width font so it doesn't bounce around during edits), and make dbl-clicks to set pos to max-L or max-R work even if width is reversed
git-svn-id: svn://localhost/ardour2/branches/3.0@8746 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
bf476d4a58
commit
9b17f35576
3 changed files with 14 additions and 11 deletions
|
|
@ -105,9 +105,11 @@ MonoPanner::set_drag_data ()
|
|||
the center of the USA isn't Kansas, its (50LA, 50NY) and it will all make sense.
|
||||
*/
|
||||
|
||||
drag_data_label->set_markup (string_compose (_("L:%1 R:%2"),
|
||||
(int) rint (100.0 * (1.0 - pos)),
|
||||
(int) rint (100.0 * pos)));
|
||||
char buf[64];
|
||||
snprintf (buf, sizeof (buf), "L:%3d R:%3d",
|
||||
(int) rint (100.0 * (1.0 - pos)),
|
||||
(int) rint (100.0 * pos));
|
||||
drag_data_label->set_markup (buf);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue