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