1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 23:59:37 +02:00

Fix it correctly based on Paul L's guidance.

This commit is contained in:
lllucius@gmail.com 2014-10-05 23:27:50 +00:00
parent a803f8bc38
commit 91f311559f

View File

@ -1579,8 +1579,7 @@ bool LabelTrack::HandleMouse(const wxMouseEvent & evt,
if (!OverTextBox(mLabels[mSelIndex], evt.m_x, evt.m_y))
mSelIndex = -1;
double t = h + (evt.m_x - r.x) / pps;
newSel->setT0(t);
newSel->setT1(t);
*newSel = SelectedRegion(t, t);
}
wxTheClipboard->UsePrimarySelection(true);