mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 09:20:16 +01:00
more const in drawing functions
This commit is contained in:
@@ -137,7 +137,7 @@ std::shared_ptr<Track> TrackPanelAx::SetFocus( std::shared_ptr<Track> track )
|
||||
}
|
||||
|
||||
// Returns TRUE if passed track has the focus
|
||||
bool TrackPanelAx::IsFocused( Track *track )
|
||||
bool TrackPanelAx::IsFocused( const Track *track )
|
||||
{
|
||||
auto focusedTrack = mFocusedTrack.lock();
|
||||
if( !focusedTrack )
|
||||
|
||||
Reference in New Issue
Block a user