mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-29 23:29:41 +02:00
Label text selection outline removed
(cherry picked from audacity commit 21ec893f76c9c329a4d0df70f77b17f013f19a57) Signed-off-by: akleja <storspov@gmail.com>
This commit is contained in:
parent
e293af8776
commit
54fe74896b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user