1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-04-24 15:03:53 +02:00

Draw the menu triangles in the ruler pushbuttons filled always.

This commit is contained in:
Paul Licameli
2016-05-06 12:46:42 -04:00
parent ae68f16af6
commit ef7f3939be

View File

@@ -3134,10 +3134,12 @@ void AdornedRulerPanel::DoDrawPushbutton
#else
wxColour c = *wxBLACK;
#endif
if (pointerState == PointerState::InArrow)
//if (pointerState == PointerState::InArrow)
dc->SetBrush( wxBrush{ c } );
else
dc->SetBrush( wxBrush{ *wxTRANSPARENT_BRUSH } ); // Make outlined arrow only
//else
//dc->SetBrush( wxBrush{ *wxTRANSPARENT_BRUSH } ); // Make outlined arrow only
dc->SetPen( wxPen{ c } );
// This function draws an arrow half as tall as wide: