mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-22 16:41:18 +01:00
Improve tooltip on Track Select button.
This commit is contained in:
@@ -103,7 +103,11 @@ UIHandle::Result SelectButtonHandle::CommitChanges
|
|||||||
wxString SelectButtonHandle::Tip(const wxMouseState &) const
|
wxString SelectButtonHandle::Tip(const wxMouseState &) const
|
||||||
{
|
{
|
||||||
auto pTrack = GetTrack();
|
auto pTrack = GetTrack();
|
||||||
return pTrack->GetSelected() ? _("Unselect") : _("Select");
|
#if defined(__WXMAC__)
|
||||||
|
return pTrack->GetSelected() ? _("Command+Click to Unselect") : _("Select");
|
||||||
|
#else
|
||||||
|
return pTrack->GetSelected() ? _("Ctrl+Click to Unselect") : _("Select");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
UIHandlePtr SelectButtonHandle::HitTest
|
UIHandlePtr SelectButtonHandle::HitTest
|
||||||
|
|||||||
Reference in New Issue
Block a user