mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 09:12:52 +00:00
Use localized background switching key shortcut in tooltip
This commit is contained in:
@@ -71,7 +71,7 @@ export function uiBackground(context) {
|
||||
.html(true)
|
||||
.title(function() {
|
||||
var tip = '<div>' + t('background.switch') + '</div>';
|
||||
return uiTooltipHtml(tip, uiCmd('⌘B'));
|
||||
return uiTooltipHtml(tip, uiCmd('⌘' + key));
|
||||
})
|
||||
);
|
||||
} else if (description || isOverflowing) {
|
||||
|
||||
Reference in New Issue
Block a user