mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-14 17:14:07 +01:00
TrackPanelAx does not depend on TrackPanel...
... TrackPanelAx now sends an event to the project when track focus changes, and TrackPanel listens for it. TrackPanel also initializes TrackPanelAx with a callback to do the details of rectangle calculation.
This commit is contained in:
@@ -145,7 +145,7 @@ UIHandle::Result TrackSelectHandle::Drag
|
||||
HitTestPreview TrackSelectHandle::Preview
|
||||
(const TrackPanelMouseState &, const AudacityProject *project)
|
||||
{
|
||||
const auto trackCount = TrackPanel::Get( *project ).GetTrackCount();
|
||||
const auto trackCount = TrackList::Get( *project ).Leaders().size();
|
||||
auto message = Message(trackCount);
|
||||
if (mClicked) {
|
||||
static auto disabledCursor =
|
||||
|
||||
Reference in New Issue
Block a user