mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-19 09:01:15 +02:00
Label text selection outline removed
This commit is contained in:
@@ -677,9 +677,9 @@ void LabelTrackView::DrawBar(wxDC& dc, const LabelStruct& ls, const wxRect& r)
|
||||
void LabelTrackView::DrawHighlight( wxDC & dc, const LabelStruct &ls,
|
||||
int xPos1, int xPos2, int charHeight)
|
||||
{
|
||||
wxPen curPen = dc.GetPen();
|
||||
curPen.SetColour(wxString(wxT("BLUE")));
|
||||
const int yFrameHeight = mTextHeight + TextFramePadding * 2;
|
||||
|
||||
dc.SetPen(*wxTRANSPARENT_PEN);
|
||||
wxBrush curBrush = dc.GetBrush();
|
||||
curBrush.SetColour(wxString(wxT("BLUE")));
|
||||
auto top = ls.y + TextFrameYOffset - (LabelBarHeight + yFrameHeight) / 2 + (yFrameHeight - charHeight) / 2;
|
||||
|
Reference in New Issue
Block a user