mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
indicate negative TC when edit is positive.
git-svn-id: svn://localhost/ardour2/branches/3.0@13491 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
6a24f75a6f
commit
4322fcec23
1 changed files with 5 additions and 4 deletions
|
|
@ -1446,11 +1446,12 @@ AudioClock::on_key_press_event (GdkEventKey* ev)
|
|||
if (edit_is_negative) {
|
||||
edit_string.replace(0,1,"-");
|
||||
} else {
|
||||
/* TODO think about this case.
|
||||
* The TC will be positive unless the edit is relative.
|
||||
*/
|
||||
if (pre_edit_string.at(0) == '-') {
|
||||
edit_string.replace(0,1,"_");
|
||||
} else {
|
||||
edit_string.replace(0,1," ");
|
||||
}
|
||||
}
|
||||
|
||||
show_edit_status (highlight_length);
|
||||
_layout->set_text (edit_string);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue