1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-29 08:43:56 +01:00

Correct boundaries of the background cell

This commit is contained in:
Paul Licameli
2017-06-16 17:05:12 -04:00
parent 773dad3221
commit f858a7bd9c

View File

@@ -2634,7 +2634,6 @@ TrackPanel::FoundCell TrackPanel::FindCell(int mouseX, int mouseY)
std::max( 0,
rect.y - kTopMargin + rect.height ) );
rect.height = size.y - rect.y;
GetSize(&rect.width, &rect.height);
return {
nullptr, mpBackground.get(),
CellType::Background, rect