mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 08:09:32 +02:00
Fix it correctly based on Paul L's guidance.
This commit is contained in:
parent
a803f8bc38
commit
91f311559f
@ -1579,8 +1579,7 @@ bool LabelTrack::HandleMouse(const wxMouseEvent & evt,
|
|||||||
if (!OverTextBox(mLabels[mSelIndex], evt.m_x, evt.m_y))
|
if (!OverTextBox(mLabels[mSelIndex], evt.m_x, evt.m_y))
|
||||||
mSelIndex = -1;
|
mSelIndex = -1;
|
||||||
double t = h + (evt.m_x - r.x) / pps;
|
double t = h + (evt.m_x - r.x) / pps;
|
||||||
newSel->setT0(t);
|
*newSel = SelectedRegion(t, t);
|
||||||
newSel->setT1(t);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
wxTheClipboard->UsePrimarySelection(true);
|
wxTheClipboard->UsePrimarySelection(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user