mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-26 14:41:14 +01:00
foo
This commit is contained in:
@@ -1572,6 +1572,7 @@ void LabelTrack::HandleClick(const wxMouseEvent & evt,
|
||||
// reset the highlight indicator
|
||||
wxRect highlightedRect;
|
||||
if (mSelIndex != -1) {
|
||||
wxASSERT(mFontHeight >= 0); // should have been set up while drawing
|
||||
// the rectangle of highlighted area
|
||||
if (mXPos1 < mXPos2)
|
||||
highlightedRect = wxRect(mXPos1, mLabels[mSelIndex]->y - mFontHeight / 2, (int)(mXPos2 - mXPos1 + 0.5), mFontHeight);
|
||||
|
||||
Reference in New Issue
Block a user