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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user