diff options
author | Nick Mainsbridge <beatroute@iprimus.com.au> | 2008-09-29 20:35:44 +0000 |
---|---|---|
committer | Nick Mainsbridge <beatroute@iprimus.com.au> | 2008-09-29 20:35:44 +0000 |
commit | 80608f7594a2eafb19e7c2fc8d29a58605b820b0 (patch) | |
tree | 543335bcebde5722d5a78386738d961e5e8bcd4c /gtk2_ardour/tempo_lines.cc | |
parent | ef9beb3f60b5499d4db48b771627b6facfe872d3 (diff) |
Relayer punch/loop range rects, fix display of punch-in with no punch-out, ensure range selection rect is hidden after single click.
git-svn-id: svn://localhost/ardour2/branches/3.0@3836 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/tempo_lines.cc')
-rw-r--r-- | gtk2_ardour/tempo_lines.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/tempo_lines.cc b/gtk2_ardour/tempo_lines.cc index 3d2f54a2ff..ec0be1415e 100644 --- a/gtk2_ardour/tempo_lines.cc +++ b/gtk2_ardour/tempo_lines.cc @@ -45,10 +45,10 @@ TempoLines::tempo_map_changed() for (Lines::iterator i = _lines.begin(); i != _lines.end(); ++d) { Lines::iterator next = i; ++next; - i->second->property_x1() = DBL_MAX - d; - i->second->property_x2() = DBL_MAX - d; + i->second->property_x1() = - d; + i->second->property_x2() = - d; _lines.erase(i); - _lines.insert(make_pair(DBL_MAX - d, i->second)); + _lines.insert(make_pair(- d, i->second)); i = next; } } |