mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-18 09:00:52 +02:00
Correct boundaries of the background cell
This commit is contained in:
parent
773dad3221
commit
f858a7bd9c
@ -2634,7 +2634,6 @@ TrackPanel::FoundCell TrackPanel::FindCell(int mouseX, int mouseY)
|
|||||||
std::max( 0,
|
std::max( 0,
|
||||||
rect.y - kTopMargin + rect.height ) );
|
rect.y - kTopMargin + rect.height ) );
|
||||||
rect.height = size.y - rect.y;
|
rect.height = size.y - rect.y;
|
||||||
GetSize(&rect.width, &rect.height);
|
|
||||||
return {
|
return {
|
||||||
nullptr, mpBackground.get(),
|
nullptr, mpBackground.get(),
|
||||||
CellType::Background, rect
|
CellType::Background, rect
|
||||||
|
Loading…
x
Reference in New Issue
Block a user