Fixed that selection would follow cursor

Closes #63
This commit is contained in:
Daniel Collin 2013-01-07 23:41:24 +01:00
parent 9e7818b6dd
commit 40d399ac40

View File

@ -1162,11 +1162,14 @@ static void onTrackSide(enum ArrowDirection dir, bool startOrEnd, enum Selection
if (t->group->folded)
setActiveTrack(oldTrack);
else
{
viewInfo->selectStopTrack = track;
}
}
else
{
viewInfo->selectStartTrack = viewInfo->selectStopTrack = track;
viewInfo->selectStartRow = viewInfo->selectStopRow = getRowPos();
}
if (!TrackView_isSelectedTrackVisible(viewInfo, trackData, track))