1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-14 18:35:31 +01:00

nonvirtual reimplementation of CellularPanel::FindRect using nodes

This commit is contained in:
Paul Licameli
2018-09-17 18:28:39 -04:00
parent cfa7afcb24
commit 01551913f0
6 changed files with 19 additions and 32 deletions

View File

@@ -2141,17 +2141,6 @@ std::shared_ptr<TrackPanelNode> AdornedRulerPanel::Root()
return std::make_shared< MainGroup >( *this );
}
wxRect AdornedRulerPanel::FindRect(const TrackPanelCell &cell)
{
if (&cell == mScrubbingCell.get())
return mScrubZone;
if (&cell == mQPCell.get())
return mInner;
return {};
}
AudacityProject * AdornedRulerPanel::GetProject() const
{
return mProject;