1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-14 17:14:07 +01:00

Track panel tooltips, including TAB key hint...

... and distinguish snapping or not in Select tool.
This commit is contained in:
Paul Licameli
2017-07-13 22:28:55 -04:00
parent 9072628b4c
commit aaed921fd3
2 changed files with 13 additions and 0 deletions

View File

@@ -963,6 +963,14 @@ HitTestPreview SelectHandle::Preview
if (ttb)
tip = ttb->GetMessageForTool(selectTool);
}
if (HasRotation()) {
tip += wxT(" ") + (mUseSnap
/* i18n-hint: "Snapping" means automatic alignment of selection edges to any nearby label or clip boundaries */
? _("(snapping)")
/* i18n-hint: "Snapping" means automatic alignment of selection edges to any nearby label or clip boundaries */
: _("(not snapping)")
);
}
return { tip, pCursor };
}