1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-14 17:14:07 +01:00

Split lines now only show over middle third of track height.

This allows selection and clicking on split lines to merge clips to act independently.  It also means we don't need a portmanteau explanation in the status line, and the action to select up to a split line is simpler and easier to explain.
This commit is contained in:
James Crook
2017-06-29 17:03:58 +01:00
parent f6d92ece82
commit dc1193a0af
3 changed files with 12 additions and 52 deletions

View File

@@ -88,6 +88,11 @@ namespace
locRect.width = 11;
locRect.y = rect.y;
locRect.height = rect.height;
// Adjustment for split line, which only fills one third of track.
if( loc.typ != WaveTrackLocation::locationCutLine ){
locRect.y += rect.height/3;
locRect.height /= 3;
}
if (locRect.Contains(event.m_x, event.m_y))
{
if (pCapturedTrackLocation)